Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Set_time_limit problems

Started by Muut Archive 11 years ago · 3 replies · 337 views
11 years ago

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

11 years ago

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

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1349 9 years ago
Archive · by Muut Archive, 9 years ago
2 934 9 years ago
Archive · by Muut Archive, 9 years ago
2 4060 9 years ago
Archive · by Muut Archive, 9 years ago
1 2946 9 years ago
Archive · by Muut Archive, 9 years ago
3 1118 9 years ago