mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Setting max_execution_time to 0 on all CLI scripts
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4535 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
ff434df4e5
commit
8b15fb5563
2 changed files with 21 additions and 17 deletions
|
@ -30,9 +30,13 @@
|
|||
/**
|
||||
* Enter description here...
|
||||
*/
|
||||
ini_set('display_errors', '1');
|
||||
ini_set('error_reporting', '7');
|
||||
define ('DS', DIRECTORY_SEPARATOR);
|
||||
if (function_exists('ini_set')) {
|
||||
ini_set('display_errors', '1');
|
||||
ini_set('error_reporting', '7');
|
||||
ini_set('max_execution_time',0);
|
||||
}
|
||||
|
||||
$app = 'app';
|
||||
$core = null;
|
||||
$root = dirname(dirname(dirname(__FILE__)));
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
if (function_exists('ini_set')) {
|
||||
ini_set('display_errors', '1');
|
||||
ini_set('error_reporting', '7');
|
||||
ini_set('max_execution_time',60*5);
|
||||
ini_set('max_execution_time',0);
|
||||
}
|
||||
|
||||
$app = null;
|
||||
|
|
Loading…
Reference in a new issue