Changeset 816

Show
Ignore:
Timestamp:
06/17/08 13:53:56 (5 months ago)
Author:
areski
Message:

remove register_global support

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.3/A2BCustomer_UI/lib/defines.php

    r636 r816  
    129129        // Language session 
    130130session_start(); 
    131 if(ini_get('register_globals')) 
    132 
    133         foreach($_REQUEST as $key => $value) 
    134         { 
    135                 $$key = $value; 
    136         } 
    137 
     131 
    138132if (!isset($_SESSION["language"])) 
    139133{ 
     
    146140 
    147141define ("LANGUAGE",$_SESSION["language"]); 
    148 //include (FSROOT."lib/languages/".LANGUAGE.".php"); 
    149 //define ("LANGUAGE_DIR",FSROOT."lib/languages/".LANGUAGE."/"); 
    150142require("languageSettings.php"); 
    151143 
     
    234226 
    235227define ("ENABLE_LOG", 0); 
    236 ?> 
     228 
  • branches/1.3/A2Billing_UI/lib/defines.php

    r621 r816  
    109109} 
    110110 
    111 if(ini_get('register_globals')) 
    112 { 
    113         foreach($_REQUEST as $key => $value) 
    114         { 
    115                 $$key = $value; 
    116         } 
    117 } 
    118  
    119111if (!isset($_SESSION["language"])) 
    120112{ 
     
    249241$log = new Logger(); 
    250242include (FSROOT."lib/help.php"); 
    251 // The system will not log for Public/index.php and  
    252 // signup/index.php 
     243// The system will not log for Public/index.php and signup/index.php 
    253244$URI = $_SERVER['REQUEST_URI']; 
    254245$restircted_url = substr($URI,-16); 
     
    258249$log = null; 
    259250 
    260  
    261 ?> 


Google