Set_time_limit problems

Hi!

Grav looks great, but I have issues on my real server, where set_time_limit is restricted. I found that it looks to be working if I enclose the two uses of set_time_limit (Response.php and Utils.php) inside a try…catch (the ‘if’ statement has to be inside the try too), but I’m not sure if that is the right thing to do. I suppose that we can ignore the exception in this case.

This is with 1.0.0-rc5.

Also, the two uses are guarded agains differently, maybe there should be a Utils function instead.

besre regards,
Vlad

I added this PR, can you test if it solves your issue? https://github.com/getgrav/grav/pull/480

Thanks, I answered on the PR. The if-s must be inside the try for it to work for me.

Updated the PR, can you check again?