Checking if set_time_limit is disabled

We shouldn't try to run it if it is
Using strstr instead of preg_match

For efficiency-ness. :)
Merge pull request #1228 from ditorelo/1189

set_time_limit() enabled check