Skip to content

Commit

Permalink
Remove set_time_limit(300)
Browse files Browse the repository at this point in the history
  • Loading branch information
dariuszz123 committed Oct 13, 2017
1 parent 0742ff0 commit a5059b3
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions ci_bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,6 @@ function ci_bootstrap($kernel, $override_controller_class = false, $load_fake_co
get_config(array('subclass_prefix' => $assign_to_config['subclass_prefix']));
}

/*
* ------------------------------------------------------
* Set a liberal script execution time limit
* ------------------------------------------------------
*/
if (function_exists("set_time_limit") == TRUE AND @ini_get("safe_mode") == 0) {
@set_time_limit(300);
}

/*
* ------------------------------------------------------
* Start the timer... tick tock tick tock...
Expand Down Expand Up @@ -455,4 +446,4 @@ function ci_bootstrap($kernel, $override_controller_class = false, $load_fake_co
if (class_exists('CI_DB') AND isset($CI->db)) {
$CI->db->close();
}
}
}

0 comments on commit a5059b3

Please sign in to comment.