index e6de1acf1aaa9fd1bc928391f2e32f11dffa4a7b..4f765a5b58fad8eb42cdec984b98a177b6167d74 100644 (file)
/* Append trace information, only if error messages are enabled */
if( isset($config) &&
is_object($config) &&
/* Append trace information, only if error messages are enabled */
if( isset($config) &&
is_object($config) &&
- isset($config->data['MAIN']['DISPLAYERRORS']) &&
- preg_match("/^true$/i",$config->data['MAIN']['DISPLAYERRORS'])){
+ $config->get_cfg_value("displayerrors") == "true" ){
$this->a_Trace = debug_backtrace();
}
if(!session::is_set('msg_dialogs')){
$this->a_Trace = debug_backtrace();
}
if(!session::is_set('msg_dialogs')){