Fix template.php

This commit is contained in:
Jakob Sack 2011-04-16 09:51:46 +02:00
parent abe09d25ce
commit 16e4a1dd17
1 changed files with 1 additions and 1 deletions

View File

@ -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{