Don't parse disable_functions INI value
authorKevin Israel <pleasestand@live.com>
Mon, 31 Mar 2014 14:19:57 +0000 (10:19 -0400)
committerIAlex <codereview@emsenhuber.ch>
Wed, 25 Jun 2014 20:24:28 +0000 (20:24 +0000)
commit74e6ce4fd65c89ba83ce5244f7085fac19d4a735
treeffaa5b1dc08dbdc3428aee84053975261eded62e
parentfc8def89015cc57f7a6353a30527141bc5b2ddbe
Don't parse disable_functions INI value

In wfDebugBacktrace() and wfShellExecDisabled(), use function_exists()
instead of getting the value of the disable_functions INI setting,
then splitting it into a list of functions, then checking that list
for the function to be called.

Also removed the check for Zend Optimizer, an old PHP extension that
does not work with PHP 5.3.

Change-Id: I04f0e026f8a6e0414f08d5302aff6c084a1d19a7
includes/GlobalFunctions.php