Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

368
 
383
 
383
 
shipping.php
_> 11 <?php
  22 /*
<> 3 -  $Id: shipping.php 368 2005-12-22 16:27:23Z hpdl $
   3+  $Id: shipping.php 383 2006-01-09 16:35:46Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
1515 
  1616 // class constructor
  1717     function shipping($module = '') {
<>  18+      global $osC_Language;
   19+
1820       if (defined('MODULE_SHIPPING_INSTALLED') && tep_not_null(MODULE_SHIPPING_INSTALLED)) {
  1921         $this->modules = explode(';', MODULE_SHIPPING_INSTALLED);
  2022 
     
 !
3133         }
  3234 
  3335         for ($i=0, $n=sizeof($include_modules); $i<$n; $i++) {
<> 34 -          include('includes/languages/' . $_SESSION['language'] . '/modules/shipping/' . $include_modules[$i]['file']);
   36+          include('includes/languages/' . $osC_Language->getDirectory() . '/modules/shipping/' . $include_modules[$i]['file']);
<_ 3537           include('includes/modules/shipping/' . $include_modules[$i]['file']);
  3638 
  3739           $GLOBALS[$include_modules[$i]['class']] = new $include_modules[$i]['class'];