From e314a83a7b4ceb387f1b72f6e93fb2d19eacf39f Mon Sep 17 00:00:00 2001 From: Jakob Sack Date: Tue, 17 May 2011 17:19:21 +0200 Subject: [PATCH] Fixing the image link for apps --- lib/helper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"; -- 2.39.5