Last active
January 5, 2017 05:23
-
-
Save legierski/5930845 to your computer and use it in GitHub Desktop.
CodeIgniter 2.1.3 (and older) overwriting time limit to 300s. Comment it out / delete entirely to let your server control time limit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
/* | |
* ------------------------------------------------------ | |
* Set a liberal script execution time limit | |
* ------------------------------------------------------ | |
*/ | |
if (function_exists("set_time_limit") == TRUE AND @ini_get("safe_mode") == 0) | |
{ | |
@set_time_limit(300); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is possible that I can Decrease the time limit if may max time limit(loading page) is 3mins.?