[ postfixadmin-Bugs-2994697 ] php >= 5.3: ereg() are deprecated
Brought to you by:
christian_boltz,
gingerdog
From: SourceForge.net <no...@so...> - 2010-04-30 11:51:55
|
Bugs item #2994697, was opened at 2010-04-30 14:48 Message generated for change (Comment added) made by petkin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937964&aid=2994697&group_id=191583 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Peter Semisotov (petkin) Assigned to: Nobody/Anonymous (nobody) Summary: php >= 5.3: ereg() are deprecated Initial Comment: As described in this post "php >= 5.3: some functions are deprecated. - ID: 2818862" but now in config.inc.php line 19 ereg() deprecated postfixadmin 2.3, from Freebsd ports ---------------------------------------------------------------------- >Comment By: Peter Semisotov (petkin) Date: 2010-04-30 14:51 Message: After i upgrade today php to 5.3 i have this error fix it by replace in /usr/local/www/postfixadmin/config.inc.php line 19 from if (ereg ("config.inc.php", $_SERVER['PHP_SELF'])) to if (preg_match ("/config.inc.php/", $_SERVER['PHP_SELF'])) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937964&aid=2994697&group_id=191583 |