'safe_mode' is a deprecated option since PHP 5.3.0 (removed in PHP 5.4.0).

This commit is contained in:
Yuriy Pikhtarev 2017-05-05 00:48:38 +03:00
commit 85bd60e4d8
No known key found for this signature in database
GPG key ID: 3A9B5A757B48ECC6

View file

@ -115,17 +115,6 @@ if (isset($_REQUEST['time_limit'])) {
$time_limit = $def_time_limit;
$time_limit_explain = $lang['TIME_LIMIT_EXPLAIN'];
// check for safe mode timeout
if (ini_get('safe_mode')) {
// get execution time
$max_execution_time = ini_get('max_execution_time');
$time_limit_explain .= '<br />' . sprintf($lang['TIME_LIMIT_EXPLAIN_SAFE'], $max_execution_time);
if ($time_limit > $max_execution_time) {
$time_limit = $max_execution_time;
}
}
// check for webserver timeout (IE returns null)
if (isset($_SERVER["HTTP_KEEP_ALIVE"])) {
// get webserver timeout