Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

368
 
383
 
383
 
payment.php
_> 11 <?php
  22 /*
<> 3 -  $Id: payment.php 368 2005-12-22 16:27:23Z hpdl $
   3+  $Id: payment.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 payment($module = '') {
<>  18+      global $osC_Language;
   19+
1820       if (defined('MODULE_PAYMENT_INSTALLED') && tep_not_null(MODULE_PAYMENT_INSTALLED)) {
  1921         $this->modules = explode(';', MODULE_PAYMENT_INSTALLED);
  2022 
     
 !
3335         }
  3436 
  3537         for ($i=0, $n=sizeof($include_modules); $i<$n; $i++) {
<> 36 -          include('includes/languages/' . $_SESSION['language'] . '/modules/payment/' . $include_modules[$i]['file']);
   38+          include('includes/languages/' . $osC_Language->getDirectory() . '/modules/payment/' . $include_modules[$i]['file']);
<_ 3739           include('includes/modules/payment/' . $include_modules[$i]['file']);
  3840 
  3941           $GLOBALS[$include_modules[$i]['class']] = new $include_modules[$i]['class'];