forked from extern/egroupware
"removed unneeded stripslashes while reading the configuration, as it \"eats\" the backslashed of windows pathes (eg. messes up the default cache path)"
This commit is contained in:
parent
258aa9e31f
commit
18897b4367
@ -121,7 +121,7 @@ class egw extends egw_minimal
|
|||||||
// load up the $GLOBALS['egw_info']['server'] array
|
// load up the $GLOBALS['egw_info']['server'] array
|
||||||
foreach($this->db->select(config::TABLE,'*',array('config_app' => 'phpgwapi'),__LINE__,__FILE__) as $row)
|
foreach($this->db->select(config::TABLE,'*',array('config_app' => 'phpgwapi'),__LINE__,__FILE__) as $row)
|
||||||
{
|
{
|
||||||
$GLOBALS['egw_info']['server'][$row['config_name']] = stripslashes($row['config_value']);
|
$GLOBALS['egw_info']['server'][$row['config_name']] = $row['config_value'];
|
||||||
}
|
}
|
||||||
//$GLOBALS['egw_info']['server'] = config::read('phpgwapi'); would unserialize arrays
|
//$GLOBALS['egw_info']['server'] = config::read('phpgwapi'); would unserialize arrays
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user