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:
@@ -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' ) ? '\\' : '/');
|
||||||
|
|||||||
@@ -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');
|
||||||
|
|||||||
Reference in New Issue
Block a user