mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-04 12:29:25 +01:00
added HTTP_SESSION_VARS to list of vars to transform as it is off by default in php5 too
This commit is contained in:
parent
ef7bff339e
commit
5d3e8d1c86
@ -89,7 +89,7 @@ $modernize = array(
|
||||
"\r" => '',
|
||||
);
|
||||
|
||||
foreach(array('GET','POST','SERVER') as $name)
|
||||
foreach(array('GET','POST','SERVER','SESSION') as $name)
|
||||
{
|
||||
$modernize['$HTTP_'.$name.'_VARS'] = '$_'.$name;
|
||||
$modernize['$GLOBALS[\'HTTP_'.$name.'_VARS\']'] = '$_'.$name;
|
||||
@ -213,4 +213,4 @@ if ($do_replace && ($f = fopen($do_replace,'wb')))
|
||||
else
|
||||
{
|
||||
ob_flush();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user