Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

725
 
783
 
783
 
navigation_history.php
_> 11 <?php
  22 /*
<> 3 -  $Id: navigation_history.php 725 2006-08-18 12:51:04Z hpdl $
   3+  $Id: navigation_history.php 783 2006-08-23 22:06:44Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
4141       $set = 'true';
  4242 
  4343       for ($i=0, $n=sizeof($this->_data); $i<$n; $i++) {
<> 44 -        if ($this->_data[$i]['page'] == basename($_SERVER['PHP_SELF'])) {
   44+        if ($this->_data[$i]['page'] == basename($_SERVER['SCRIPT_FILENAME'])) {
4545           if (isset($cPath)) {
  4646             if (!isset($this->_data[$i]['get']['cPath'])) {
  4747               continue;
     
 !
7272       }
  7373 
  7474       if ($set == 'true') {
<> 75 -        $this->_data[] = array('page' => basename($_SERVER['PHP_SELF']),
   75+        $this->_data[] = array('page' => basename($_SERVER['SCRIPT_FILENAME']),
7676                                'mode' => $request_type,
  7777                                'get' => $_GET,
  7878                                'post' => $_POST);
     
 !
8686     function removeCurrentPage() {
  8787       $last_entry_position = sizeof($this->_data) - 1;
  8888 
<> 89 -      if ($this->_data[$last_entry_position]['page'] == basename($_SERVER['PHP_SELF'])) {
   89+      if ($this->_data[$last_entry_position]['page'] == basename($_SERVER['SCRIPT_FILENAME'])) {
9090         unset($this->_data[$last_entry_position]);
  9191 
  9292         if (sizeof($this->_data) > 0) {
     
 !
126126                                  'get' => $page['get'],
  127127                                  'post' => $page['post']);
  128128       } else {
<> 129 -        $this->_snapshot = array('page' => basename($_SERVER['PHP_SELF']),
   129+        $this->_snapshot = array('page' => basename($_SERVER['SCRIPT_FILENAME']),
<_ 130130                                  'mode' => $request_type,
  131131                                  'get' => $_GET,
  132132                                  'post' => $_POST);