]> source.dussan.org Git - nextcloud-server.git/commitdiff
changed the path in imagePath again
authorAlessandro Cosentino <cosenal@gmail.com>
Wed, 18 May 2011 03:29:09 +0000 (23:29 -0400)
committerAlessandro Cosentino <cosenal@gmail.com>
Wed, 18 May 2011 03:29:09 +0000 (23:29 -0400)
lib/helper.php

index c57c83e1ef971b51dc5f19bb82da5d4c4d5ededb..fbca94dc7a8f020cdaf8816f8b20a983acfb4d2e 100644 (file)
@@ -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";