Change request: set_time_limit(0)
Posted: Mon Jun 08, 2020 3:08 pm
Hi Steven,
When using a shared hosting environment where the user has no control of the web server, set_time_limit() might be disabled (in php.ini)
Suggestion: Replace
https://github.com/steven-copley/nubuil ... on.php#L11
with
Declaration of nuSetTimeLimit():
A similar code is used in \nudb\libraries\classes\Util.php
When using a shared hosting environment where the user has no control of the web server, set_time_limit() might be disabled (in php.ini)
Suggestion: Replace
Code: Select all
set_time_limit(0);
with
Code: Select all
nuSetTimeLimit(0);
Code: Select all
function nuSetTimeLimit(){
if (function_exists('set_time_limit')) {
set_time_limit(0);
}
}