changed the path in imagePath again

This commit is contained in:
Alessandro Cosentino 2011-05-17 23:29:09 -04:00
parent 13ddf8100f
commit 1ec304227e
1 changed files with 2 additions and 2 deletions

View File

@ -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";