diff options
author | Simon Rettberg | 2016-08-16 18:05:03 +0200 |
---|---|---|
committer | Simon Rettberg | 2016-08-16 18:05:03 +0200 |
commit | 906ba96052a971988a2c9c6c6ba91b11aaba6f03 (patch) | |
tree | d2889af000470b2500ef0f93542f440b2a65ac2c /inc | |
parent | [util] Also escape the print_r output when rendering HTML (diff) | |
download | slx-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.php | 3 |
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; } |