From: Jakob Sack Date: Tue, 17 May 2011 15:19:21 +0000 (+0200) Subject: Fixing the image link for apps X-Git-Tag: v3.0~267^2~558^2~24 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e314a83a7b4ceb387f1b72f6e93fb2d19eacf39f;p=nextcloud-server.git Fixing the image link for apps --- diff --git a/lib/helper.php b/lib/helper.php index 009e961397b..da566a318ac 100644 --- a/lib/helper.php +++ b/lib/helper.php @@ -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";