changed the path in imagePath again

remotes/origin/stable
Alessandro Cosentino 2011-05-17 23:29:09 +07:00
parent 13ddf8100f
commit 1ec304227e
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/$image" )){
return "$WEBROOT/apps/img/$app/$image";
if( file_exists( "$SERVERROOT/apps/$app/img/$image" )){
return "$WEBROOT/apps/$app/img/$image";
}
if( !empty( $app )){
return "$WEBROOT/$app/img/$image";