CodeIgniter Forums
set time limit - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forum-21.html)
+--- Thread: set time limit (/thread-33570.html)



set time limit - El Forum - 08-31-2010

[eluser]Rodrigo Berlinck[/eluser]
hi guys,

how i remove set_time_limit from ci?
Code:
set_time_limit(0);

Thanks


set time limit - El Forum - 09-01-2010

[eluser]gyo[/eluser]
You can put it wherever you want, just like any other PHP script.
It can be in the Controller or inside the 'index.php', if you need it across the whole application.


set time limit - El Forum - 09-01-2010

[eluser]Rodrigo Berlinck[/eluser]
he is phasing out the loop, even with the set time limit.
Thanks for your help


set time limit - El Forum - 09-01-2010

[eluser]gyo[/eluser]
If I understand, you have a loop running, and after a while it gives you an error? And, what's this error?

I successfully use set_time_limit(0); in my controllers with no problems!