From: <ral...@us...> - 2015-10-06 13:10:13
|
Author: ralfbecker Date: Tue Oct 6 15:10:06 2015 New Revision: 53840 URL: http://svn.stylite.de/viewvc/egroupware?rev=53840&view=rev Log: cant use @-syntax with passwords, as they can start with an @ Modified: branches/14.2/phpgwapi/inc/class.egw_db.inc.php Modified: branches/14.2/phpgwapi/inc/class.egw_db.inc.php URL: http://svn.stylite.de/viewvc/egroupware/branches/14.2/phpgwapi/inc/class.egw_db.inc.php?rev=53840&r1=53839&r2=53840&view=diff ============================================================================== --- branches/14.2/phpgwapi/inc/class.egw_db.inc.php (original) +++ branches/14.2/phpgwapi/inc/class.egw_db.inc.php Tue Oct 6 15:10:06 2015 @@ -347,7 +347,7 @@ { $this->Type = $GLOBALS['egw_info']['server']['db_type']; } - foreach(array('Database', 'Host', 'Port', 'User', 'Password', 'Type') as $var) + foreach(array('Database', 'Host', 'Port', 'User', 'Type') as $var) { $val = (string)$this->$var; if ($val[0] === '@') $this->$var = getenv(substr($val, 1)); |