]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fixing the image link for apps
authorJakob Sack <kde@jakobsack.de>
Tue, 17 May 2011 15:19:21 +0000 (17:19 +0200)
committerJakob Sack <kde@jakobsack.de>
Tue, 17 May 2011 15:19:21 +0000 (17:19 +0200)
lib/helper.php

index 009e961397b9d970d6360c4aa5d4072a1a265861..da566a318acd179de2a98651f87f249be9c36186 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";