summaryrefslogtreecommitdiffstats
path: root/inc/render.inc.php
diff options
context:
space:
mode:
authorChristian Klinger2016-08-22 11:24:03 +0200
committerChristian Klinger2016-08-22 11:24:03 +0200
commitd3c689c6730ca6749c03ffd01c670f7b191e8355 (patch)
tree9e2d7caa1ed3c45b4757621202087a64e5e87cc9 /inc/render.inc.php
parentcss fix/hack to get roomplanner to work on medium sized screens. (diff)
parent[dozmod] Expect the client to tell wether it is running in exam mode and comp... (diff)
downloadslx-admin-d3c689c6730ca6749c03ffd01c670f7b191e8355.tar.gz
slx-admin-d3c689c6730ca6749c03ffd01c670f7b191e8355.tar.xz
slx-admin-d3c689c6730ca6749c03ffd01c670f7b191e8355.zip
Merge branch 'modularization' of git.openslx.org:openslx-ng/slx-admin into modularization
Diffstat (limited to 'inc/render.inc.php')
-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;
}