mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-01 12:23:50 +01:00
moved common_function include before the session restore, to fix a problem occuring in php5.2 from time to time:
PHP Fatal error: Call to undefined function filesystem_separator() in /srv/www/htdocs/egw-1.2/phpgwapi/inc/class.egw.inc.php on line 381
This commit is contained in:
parent
e924f671b0
commit
8961aa9658
@ -47,6 +47,8 @@
|
||||
echo '!!! PLEASE CORRECT THIS SITUATION !!!</b></p>';
|
||||
}
|
||||
|
||||
include_once(EGW_API_INC.'/common_functions.inc.php');
|
||||
|
||||
// check if we can restore the eGW enviroment from the php-session
|
||||
if ($GLOBALS['egw_info']['server']['sessions_type'] == 'php4-restore' && $_REQUEST['sessionid'])
|
||||
{
|
||||
@ -89,7 +91,6 @@
|
||||
unset($_SESSION['egw_object_cache']);
|
||||
}
|
||||
}
|
||||
include(EGW_API_INC.'/common_functions.inc.php');
|
||||
|
||||
print_debug('sane environment','messageonly','api');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user