mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-13 01:57:33 -07:00
'safe_mode' is a deprecated option since PHP 5.3.0 (removed in PHP 5.4.0).
This commit is contained in:
parent
b9686af593
commit
85bd60e4d8
1 changed files with 0 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue