CodeIgniter Forums

Full Version: set time limit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

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

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

Thanks

El Forum

[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.

El Forum

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

El Forum

[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!