diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-06-02 02:58:42 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-06-02 02:58:42 +0200 |
commit | 2b45a28bd48ffa76ed2a2a0ea95e60f787cb485d (patch) | |
tree | 13859955ff40e35f889e745121e79aa2cf203d1c /lib/helper.php | |
parent | 8c5a06028aa4bf7a29d79d63a713361ce2f50633 (diff) | |
download | nextcloud-server-2b45a28bd48ffa76ed2a2a0ea95e60f787cb485d.tar.gz nextcloud-server-2b45a28bd48ffa76ed2a2a0ea95e60f787cb485d.zip |
fix OC_HELPER::linkto() when the link is not a valid file.
(e.g. a php script with ?foo=bar appended)
Diffstat (limited to 'lib/helper.php')
-rw-r--r-- | lib/helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/helper.php b/lib/helper.php index 281761c590b..9faf8861161 100644 --- a/lib/helper.php +++ b/lib/helper.php @@ -42,7 +42,7 @@ class OC_HELPER { } // Check if the app is in the app folder - if( file_exists( $SERVERROOT . '/apps/'. $app . $file )){ + if( file_exists( $SERVERROOT . '/apps/'. $app )){ return $WEBROOT . '/apps/' . $app . $file; } return $WEBROOT . '/' . $app . $file; |