diff --git a/NEWS b/NEWS index 9e3b81ad..0301112e 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ + - fix problem displaying debug console when $default_resource_type + is not "file:" (c960657, Monte) - fix permission handling with security and config_load (messju) - removed '.' from the list of default template locations in _parse_resource_name() (messju) diff --git a/libs/core/core.display_debug_console.php b/libs/core/core.display_debug_console.php index c509ff72..ab1b5cb3 100644 --- a/libs/core/core.display_debug_console.php +++ b/libs/core/core.display_debug_console.php @@ -21,7 +21,7 @@ function smarty_core_display_debug_console($params, &$smarty) if(empty($smarty->debug_tpl)) { // set path to debug template from SMARTY_DIR - $smarty->debug_tpl = SMARTY_DIR . 'debug.tpl'; + $smarty->debug_tpl = 'file:' . SMARTY_DIR . 'debug.tpl'; if($smarty->security && is_file($smarty->debug_tpl)) { $smarty->secure_dir[] = dirname(realpath($smarty->debug_tpl)); }