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:
phpnut 2007-02-18 13:25:37 +00:00
parent ff434df4e5
commit 8b15fb5563
2 changed files with 21 additions and 17 deletions

View file

@ -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__)));

View 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;