[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mediawiki-l
Subject:    Re: [Mediawiki-l] LocalSettings.php - ini_set() function
From:       "Rob Church" <robchur () gmail ! com>
Date:       2007-07-31 18:38:46
Message-ID: e92136380707311138v3443241dx951e1113469262da () mail ! gmail ! com
[Download RAW message or body]

On 31/07/07, Emanuele D'Arrigo <manu3d@gmail.com> wrote:
> MW ignored the new value however
> and kept using the one from php.ini.
> Is there something to know about
> using ini_set() in LocalSettings.php?
> Is its effect delayed but an amount
> of time? Does something triggers
> its effect at some point but not immediately?

ini_set() isn't able to change all PHP.ini configuration settings,
which makes some sense if one considers what would then be possible
with a malicious script.

There's a list on http://uk2.php.net/manual/en/ini.php#ini.list -
those marked with PHP_INI_ALL or PHP_INI_USER can be changed using
this function.


Rob Church

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l@lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic