diff options
author | Brice Maron <brice@bmaron.net> | 2012-06-04 20:37:00 +0000 |
---|---|---|
committer | Brice Maron <brice@bmaron.net> | 2012-06-06 20:24:15 +0000 |
commit | 6a812644e4d0f6eed8dca4e20c6f7135d881012a (patch) | |
tree | 546a05ff2314e3127c4b1010e9d8729c5e4e4ee8 /lib/helper.php | |
parent | 6a250d0d20c92513a883a7103885712127b51cc8 (diff) | |
download | nextcloud-server-6a812644e4d0f6eed8dca4e20c6f7135d881012a.tar.gz nextcloud-server-6a812644e4d0f6eed8dca4e20c6f7135d881012a.zip |
Correct remote and public, and last occurence of OC::
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 550bf9771e4..3cf5107eea9 100644 --- a/lib/helper.php +++ b/lib/helper.php @@ -40,7 +40,7 @@ class OC_Helper { if( $app != '' ){ $app .= '/'; // Check if the app is in the app folder - if( file_exists( OC_App::getAppPath($app).$file )){ + if( file_exists( OC_App::getAppPath($app).'/'.$file )){ if(substr($file, -3) == 'php' || substr($file, -3) == 'css'){ if(substr($app, -1, 1) == '/'){ $app = substr($app, 0, strlen($app) - 1); |