Bug #24566 ยป 17027.diff
t3lib/utility/class.t3lib_utility_phpoptions.php (Arbeitskopie) | ||
---|---|---|
* @return boolean TRUE if safe_mode is enabled, FALSE if disabled
|
||
*/
|
||
public static function isSafeModeEnabled() {
|
||
return self::getIniValueBoolean('safe_mode');
|
||
$enabled = self::getIniValueBoolean('safe_mode');
|
||
if ($enabled) {
|
||
t3lib_div::deprecationLog('Your server has PHP safe_mode enabled. This option causes several troubles and is already deprecated by the PHP developers (see http://de.php.net/manual/en/ini.sect.safe-mode.php#ini.safe-mode).' . LF .
|
||
'Running TYPO3 with safe_mode enabled is also deprecated since version 4.5 and already breaks some features. Any support will dropped with version 4.6');
|
||
}
|
||
return $enabled;
|
||
}
|
||
/**
|