only show relative dir
This commit is contained in:
@ -39,6 +39,8 @@ Version 2.1 ()
|
|||||||
Version 2.0.2 ()
|
Version 2.0.2 ()
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
|
||||||
|
* Show debugging .tpl file information with relative directory only
|
||||||
|
|
||||||
* fix wrong upgrade removal of dead files with 2.0.1 update
|
* fix wrong upgrade removal of dead files with 2.0.1 update
|
||||||
|
|
||||||
|
|
||||||
|
@ -1213,9 +1213,9 @@ function serendipity_smarty_show($template, $data = null, $debugtype = null, $de
|
|||||||
$tplfile = serendipity_getTemplateFile($template, 'serendipityPath');
|
$tplfile = serendipity_getTemplateFile($template, 'serendipityPath');
|
||||||
if ($debug !== null) {
|
if ($debug !== null) {
|
||||||
if ($debugtype == "HTML") {
|
if ($debugtype == "HTML") {
|
||||||
$debug = "<!-- Dynamically fetched " . htmlspecialchars($tplfile) . " on " . date('Y-m-d H:i') . ", called from: " . $debug . " -->\n";
|
$debug = "<!-- Dynamically fetched " . htmlspecialchars(str_replace($serendipity['serendipityPath'], '', $tplfile)) . " on " . date('Y-m-d H:i') . ", called from: " . $debug . " -->\n";
|
||||||
} else {
|
} else {
|
||||||
$debug = "/* Dynamically fetched " . htmlspecialchars($tplfile) . " on " . date('Y-m-d H:i') . ", called from: " . $debug . " */\n";
|
$debug = "/* Dynamically fetched " . htmlspecialchars(str_replace($serendipity['serendipityPath'], '', $tplfile)) . " on " . date('Y-m-d H:i') . ", called from: " . $debug . " */\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user