Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

151
 
368
 
368
 
shipping.php
_> 11 <?php
  22 /*
<> 3 -  $Id: shipping.php 151 2005-08-02 14:33:25Z mattice $
   3+  $Id: shipping.php 368 2005-12-22 16:27:23Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
1515 
  1616 // class constructor
  1717     function shipping($module = '') {
<> 18 -      if (PHP_VERSION < 4.1) {
  19 -        global $_SERVER;
  20 -      }
  21 -
  22 -      global $osC_Session;
  23 -
2418       if (defined('MODULE_SHIPPING_INSTALLED') && tep_not_null(MODULE_SHIPPING_INSTALLED)) {
  2519         $this->modules = explode(';', MODULE_SHIPPING_INSTALLED);
  2620 
     
 !
3731         }
  3832 
  3933         for ($i=0, $n=sizeof($include_modules); $i<$n; $i++) {
<> 40 -          include(DIR_WS_LANGUAGES . $osC_Session->value('language') . '/modules/shipping/' . $include_modules[$i]['file']);
  41 -          include(DIR_WS_MODULES . 'shipping/' . $include_modules[$i]['file']);
   34+          include('includes/languages/' . $_SESSION['language'] . '/modules/shipping/' . $include_modules[$i]['file']);
   35+          include('includes/modules/shipping/' . $include_modules[$i]['file']);
<_ 4236 
  4337           $GLOBALS[$include_modules[$i]['class']] = new $include_modules[$i]['class'];
  4438         }