Hi everybody,
I've just had to install PhpWiki on a system where the value of
safe_mode from php.ini is 'off' while the local value is 'on'. This
gave me a lot of warnings from loadsave.php when it tries to extend
the time limit.
The problem is, that get_cfg_var() returns the value from php.ini, but
this value has been changed locally. By using ini_get() instead, you
always get the active value back. See this article:
http://makeashorterlink.com/?E198219E2
--
Martin Geisler My GnuPG Key: 0xF7F6B57B
See http://gimpster.com/ and http://phpweather.net/ for:
PHP Weather => Shows the current weather on your webpage and
PHP Shell => A telnet-connection (almost :-) in a PHP page.
|