Fix template.php
This commit is contained in:
parent
abe09d25ce
commit
16e4a1dd17
|
@ -97,7 +97,7 @@ class OC_TEMPLATE{
|
||||||
$template = "$SERVERROOT/templates/";
|
$template = "$SERVERROOT/templates/";
|
||||||
if( $app != "core" && $app != "" ){
|
if( $app != "core" && $app != "" ){
|
||||||
// Check if the app is in the app folder
|
// 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/";
|
$template = "$SERVERROOT/apps/$app/templates/";
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
|
Loading…
Reference in New Issue