diff options
author | Jakob Sack <kde@jakobsack.de> | 2011-05-17 17:19:21 +0200 |
---|---|---|
committer | Jakob Sack <kde@jakobsack.de> | 2011-05-17 17:19:21 +0200 |
commit | e314a83a7b4ceb387f1b72f6e93fb2d19eacf39f (patch) | |
tree | 6d0ae72a6ff0ecd34c20a02162904984f4aa65bb /lib/helper.php | |
parent | b0ecd705823a995963a2a39e8dfdbb5670f8ac0a (diff) | |
download | nextcloud-server-e314a83a7b4ceb387f1b72f6e93fb2d19eacf39f.tar.gz nextcloud-server-e314a83a7b4ceb387f1b72f6e93fb2d19eacf39f.zip |
Fixing the image link for apps
Diffstat (limited to 'lib/helper.php')
-rw-r--r-- | lib/helper.php | 4 |
1 files 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"; |