Config: add traces in ini_set()
This commit is contained in:
parent
77deb947db
commit
7166e63032
1 changed files with 5 additions and 1 deletions
|
@ -236,8 +236,12 @@ Class Config {
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public static function ini_set($option, $value) {
|
public static function ini_set($option, $value) {
|
||||||
|
Log :: trace('Set PHP INI option "%s" to "%s"', $option, $value);
|
||||||
if (ini_set($option, $value) === false)
|
if (ini_set($option, $value) === false)
|
||||||
Log::warning('Fail to set INI options "%s" to "%s"', $option, $value);
|
Log::warning('Fail to set PHP INI option "%s" to "%s"', $option, $value);
|
||||||
|
Log :: trace(
|
||||||
|
'PHP INI option "%s" after setting it to "%s": "%s"',
|
||||||
|
$option, $value, vardump(ini_get($option)));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue