use the correct variable name
This commit is contained in:
parent
e71bc75a9d
commit
101877351b
1 changed files with 2 additions and 2 deletions
|
@ -60,8 +60,8 @@ class OC_HELPER {
|
|||
global $SERVERROOT;
|
||||
global $WEBROOT;
|
||||
// Check if the app is in the app folder
|
||||
if( file_exists( "$SERVERROOT/apps/img/$app/$file" )){
|
||||
return "$WEBROOT/apps/img/$app/$file";
|
||||
if( file_exists( "$SERVERROOT/apps/img/$app/$image" )){
|
||||
return "$WEBROOT/apps/img/$app/$image";
|
||||
}
|
||||
return "$WEBROOT/$app/img/$image";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue