Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

153
 
196
 
196
 
language.php
_> 11 <?php
  22 /*
<> 3 -  $Id: language.php 153 2005-08-04 12:57:59Z hpdl $
   3+  $Id: language.php 196 2005-09-16 12:59:17Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
4949 /* Public methods */
  5050 
  5151     function set($lang = '') {
<> 52 -      if (PHP_VERSION < 4.1) {
  53 -        global $_COOKIE;
  54 -      }
  55 -
5652       global $osC_Session;
  5753 
  5854       if (empty($lang) && $osC_Session->exists('language')) {
     
 !
8177     }
  8278 
  8379     function setToBrowser() {
<> 84 -      if (PHP_VERSION < 4.1) {
  85 -        global $_COOKIE, $_SERVER;
  86 -      }
  87 -
<_ 8880       if (isset($_COOKIE['language'])) {
  8981         if ($this->exists($_COOKIE['language'])) {
  9082           $this->set($_COOKIE['language']);