diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-06-02 20:21:02 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-06-02 20:21:02 +0200 |
commit | 7f987b84a52f8351923db8a3c5db945480859ec8 (patch) | |
tree | b8f5fd41d8adddeaea4c679bae1b342e40f6fc1a /lib | |
parent | da2c9aa807bf329d2d4b27d74231aabd47e327ef (diff) | |
download | nextcloud-server-7f987b84a52f8351923db8a3c5db945480859ec8.tar.gz nextcloud-server-7f987b84a52f8351923db8a3c5db945480859ec8.zip |
fix OC_HELPER::linkTo again
Diffstat (limited to 'lib')
-rw-r--r-- | lib/helper.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/helper.php b/lib/helper.php index 9faf8861161..072607f742b 100644 --- a/lib/helper.php +++ b/lib/helper.php @@ -39,11 +39,10 @@ class OC_HELPER { if(!empty($app)) { $app .= '/'; - } - - // Check if the app is in the app folder - if( file_exists( $SERVERROOT . '/apps/'. $app )){ - return $WEBROOT . '/apps/' . $app . $file; + // Check if the app is in the app folder + if( file_exists( $SERVERROOT . '/apps/'. $app )){ + return $WEBROOT . '/apps/' . $app . $file; + } } return $WEBROOT . '/' . $app . $file; } |