From 85bd60e4d8e51a411a79d5c9da12878edeb6bdf4 Mon Sep 17 00:00:00 2001 From: Yuriy Pikhtarev Date: Fri, 5 May 2017 00:48:38 +0300 Subject: [PATCH] 'safe_mode' is a deprecated option since PHP 5.3.0 (removed in PHP 5.4.0). --- admin/admin_rebuild_search.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/admin/admin_rebuild_search.php b/admin/admin_rebuild_search.php index 538b6da56..11c7d4eda 100644 --- a/admin/admin_rebuild_search.php +++ b/admin/admin_rebuild_search.php @@ -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 .= '
' . 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