Update of /cvsroot/tep/catalog/catalog/includes/classes
In directory sc8-pr-cvs1:/tmp/cvs-serv14761/classes
Modified Files:
shipping.php
Log Message:
use the new session class
Index: shipping.php
===================================================================
RCS file: /cvsroot/tep/catalog/catalog/includes/classes/shipping.php,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- shipping.php 29 Jun 2003 11:22:05 -0000 1.23
+++ shipping.php 17 Nov 2003 19:35:04 -0000 1.24
@@ -15,7 +15,7 @@
// class constructor
function shipping($module = '') {
- global $language, $PHP_SELF;
+ global $osC_Session, $PHP_SELF;
if (defined('MODULE_SHIPPING_INSTALLED') &&
tep_not_null(MODULE_SHIPPING_INSTALLED)) {
$this->modules = explode(';', MODULE_SHIPPING_INSTALLED);
@@ -33,7 +33,7 @@
}
for ($i=0, $n=sizeof($include_modules); $i<$n; $i++) {
- include(DIR_WS_LANGUAGES . $language . '/modules/shipping/' .
$include_modules[$i]['file']);
+ include(DIR_WS_LANGUAGES . $osC_Session->value('language') .
'/modules/shipping/' . $include_modules[$i]['file']);
include(DIR_WS_MODULES . 'shipping/' . $include_modules[$i]['file']);
$GLOBALS[$include_modules[$i]['class']] = new
$include_modules[$i]['class'];
-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
|