Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

1859
 
1863
 
1863
 
application_top.php
_> 11 <?php
  22 /*
<> 3 -  $Id: application_top.php 1859 2009-03-06 23:21:50Z hpdl $
   3+  $Id: application_top.php 1863 2009-03-06 23:53:49Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
  77 
<> 8 -  Copyright (c) 2007 osCommerce
   8+  Copyright (c) 2009 osCommerce
99 
  1010   This program is free software; you can redistribute it and/or modify
  1111   it under the terms of the GNU General Public License v2 (1991)
     
 !
5858   $osC_Cache = new osC_Cache();
  5959 
  6060 // include the administrators log class
<> 61 -  require('includes/classes/administrators_log.php');
   61+  if ( file_exists('includes/applications/administrators_log/classes/administrators_log.php') ) {
   62+    include('includes/applications/administrators_log/classes/administrators_log.php');
   63+  }
6264 
  6365 // include the database class
  6466   require('../includes/classes/database.php');
     
 !
9092   $osC_Session = osC_Session::load('osCAdminID');
  9193   $osC_Session->start();
  9294 
<> 93 -  if ( !isset($_SESSION['admin']) ) {
   95+  if ( !isset($_SESSION['admin']) && (basename($_SERVER['PHP_SELF']) != FILENAME_RPC) ) {
9496     $redirect = false;
  9597 
  9698     if ( empty($_GET) ) {
     
 !
143145 
  144146 // initialize the message stack for output messages
  145147   require('../includes/classes/message_stack.php');
<> 146 -  $osC_MessageStack = new messageStack();
  147 -  $osC_MessageStack->loadFromSession();
   148+  $osC_MessageStack = new osC_MessageStack();
<_ 148149 
  149150 // entry/item info classes
  150151   require('includes/classes/object_info.php');