Closed demianturner closed 11 years ago
In SGL_Task_SetupCustomErrorHandler logging in enabled based on {{{ $conf['log']['enabled'] }}}
{{{ if (!empty($conf['log']['enabled'])) { ini_set('log_errors', true); } }}}
By checking for empty, if {{{ $conf['log']['enabled'] }}} = 1 or 0 logging is enabled.
{{{ if (!empty($conf['log']['enabled']) && $conf['log']['enabled']) { ini_set('log_errors', true); } }}}
Only enables logging when {{{ $conf['log']['enabled'] }}} = 1 or true
In SGL_Task_SetupCustomErrorHandler logging in enabled based on {{{ $conf['log']['enabled'] }}}
{{{ if (!empty($conf['log']['enabled'])) { ini_set('log_errors', true); } }}}
By checking for empty, if {{{ $conf['log']['enabled'] }}} = 1 or 0 logging is enabled.
{{{ if (!empty($conf['log']['enabled']) && $conf['log']['enabled']) { ini_set('log_errors', true); } }}}
Only enables logging when {{{ $conf['log']['enabled'] }}} = 1 or true