summaryrefslogtreecommitdiffstats
path: root/lib/template.php
diff options
context:
space:
mode:
authorJakob Sack <kde@jakobsack.de>2011-04-16 09:51:46 +0200
committerJakob Sack <kde@jakobsack.de>2011-04-16 09:51:46 +0200
commit16e4a1dd1795714426a529f02391d41c41acae71 (patch)
treeec0b1c83e72b33b2f28928fa79c6d1b688f4df73 /lib/template.php
parentabe09d25ce6229f9b5e3084d650eb24d585a72ea (diff)
downloadnextcloud-server-16e4a1dd1795714426a529f02391d41c41acae71.tar.gz
nextcloud-server-16e4a1dd1795714426a529f02391d41c41acae71.zip
Fix template.php
Diffstat (limited to 'lib/template.php')
-rw-r--r--lib/template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/template.php b/lib/template.php
index 80bb4317d92..c36b1e7a367 100644
--- a/lib/template.php
+++ b/lib/template.php
@@ -97,7 +97,7 @@ class OC_TEMPLATE{
$template = "$SERVERROOT/templates/";
if( $app != "core" && $app != "" ){
// Check if the app is in the app folder
- if( "$SERVERROOT/apps/$app/templates/" ){
+ if( file_exists( "$SERVERROOT/apps/$app/templates/" )){
$template = "$SERVERROOT/apps/$app/templates/";
}
else{