Fixing the image link for apps
This commit is contained in:
parent
b0ecd70582
commit
e314a83a7b
|
@ -60,8 +60,8 @@ class OC_HELPER {
|
||||||
global $SERVERROOT;
|
global $SERVERROOT;
|
||||||
global $WEBROOT;
|
global $WEBROOT;
|
||||||
// Check if the app is in the app folder
|
// Check if the app is in the app folder
|
||||||
if( file_exists( "$SERVERROOT/apps/img/$app/$image" )){
|
if( file_exists( "$SERVERROOT/apps/$app/img/$image" )){
|
||||||
return "$WEBROOT/apps/img/$app/$image";
|
return "$WEBROOT/apps/$app/img/$image";
|
||||||
}
|
}
|
||||||
if( !empty( $app )){
|
if( !empty( $app )){
|
||||||
return "$WEBROOT/$app/img/$image";
|
return "$WEBROOT/$app/img/$image";
|
||||||
|
|
Loading…
Reference in New Issue