Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

273
 
377
 
377
 
order_total.php
_> 11 <?php
  22 /*
<> 3 -  $Id: order_total.php 273 2005-11-23 16:53:04Z hpdl $
   3+  $Id: order_total.php 377 2006-01-09 14:47:49Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
1515 
  1616 // class constructor
  1717     function order_total() {
<>  18+      global $osC_Language;
   19+
1820       if (defined('MODULE_ORDER_TOTAL_INSTALLED') && tep_not_null(MODULE_ORDER_TOTAL_INSTALLED)) {
  1921         $this->modules = explode(';', MODULE_ORDER_TOTAL_INSTALLED);
  2022 
  2123         reset($this->modules);
  2224         while (list(, $value) = each($this->modules)) {
<> 23 -          include('includes/languages/' . $_SESSION['language'] . '/modules/order_total/' . $value);
   25+          include('includes/languages/' . $osC_Language->getDirectory() . '/modules/order_total/' . $value);
<_ 2426           include('includes/modules/order_total/' . $value);
  2527 
  2628           $class = substr($value, 0, strrpos($value, '.'));