BUG 13938 Line error_reporting(E_ALL) in cron.php and cron_single.php is generating unnecesary errors SOLVED

- Unnecesary lines to set the configuration for "display_errors" and "error_reporting"
- Delete unnecesary lines and now this configurations is setted with the processmaker configuration (env.ini)
This commit is contained in:
Julio Cesar Laura
2014-01-21 13:02:08 -04:00
parent c54d45099f
commit adeea26e32
2 changed files with 4 additions and 12 deletions

View File

@@ -3,10 +3,6 @@
* cron.php * cron.php
* @package workflow-engine-bin * @package workflow-engine-bin
*/ */
ini_set('display_errors', 1);
error_reporting(E_ALL);
ini_set('memory_limit', '300M'); // nore: this may need to be higher for many projects
$mem_limit = (int) ini_get('memory_limit');
if ( !defined('PATH_SEP') ) { if ( !defined('PATH_SEP') ) {
define('PATH_SEP', ( substr(PHP_OS, 0, 3) == 'WIN' ) ? '\\' : '/'); define('PATH_SEP', ( substr(PHP_OS, 0, 3) == 'WIN' ) ? '\\' : '/');

View File

@@ -3,10 +3,6 @@
* cron_single.php * cron_single.php
* @package workflow-engine-bin * @package workflow-engine-bin
*/ */
ini_set('display_errors', 1);
error_reporting(E_ALL);
ini_set("memory_limit", "256M");
if (!defined('SYS_LANG')) { if (!defined('SYS_LANG')) {
define('SYS_LANG', 'en'); define('SYS_LANG', 'en');