summaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorSimon Rettberg2016-08-16 18:05:03 +0200
committerSimon Rettberg2016-08-16 18:05:03 +0200
commit906ba96052a971988a2c9c6c6ba91b11aaba6f03 (patch)
treed2889af000470b2500ef0f93542f440b2a65ac2c /inc
parent[util] Also escape the print_r output when rendering HTML (diff)
downloadslx-admin-906ba96052a971988a2c9c6c6ba91b11aaba6f03.tar.gz
slx-admin-906ba96052a971988a2c9c6c6ba91b11aaba6f03.tar.xz
slx-admin-906ba96052a971988a2c9c6c6ba91b11aaba6f03.zip
[render] Restore debug template generation
Diffstat (limited to 'inc')
-rw-r--r--inc/render.inc.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/inc/render.inc.php b/inc/render.inc.php
index 1f311868..d870768e 100644
--- a/inc/render.inc.php
+++ b/inc/render.inc.php
@@ -270,9 +270,6 @@ class Render
}
// Load from disk
$data = @file_get_contents('modules/' . $module . '/templates/' . $template . '.html');
- if ($data === false) {
- $data = '<b>Non-existent/unreadable template ' . $template . ' requested!</b>';
- }
self::$templateCache[$id] =& $data;
return $data;
}