diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-05-07 20:25:44 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-05-07 20:26:09 +0200 |
commit | 5b7cefb1e596013c7ee56d082ecb0731621ef421 (patch) | |
tree | 688a4fe38336d452b794024548d7a59264ae48b9 /lib/helper.php | |
parent | 5a1ea62437673d24407515eb2deabdac1210bfcb (diff) | |
download | nextcloud-server-5b7cefb1e596013c7ee56d082ecb0731621ef421.tar.gz nextcloud-server-5b7cefb1e596013c7ee56d082ecb0731621ef421.zip |
make ampache work with remote.php
Diffstat (limited to 'lib/helper.php')
-rw-r--r-- | lib/helper.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/helper.php b/lib/helper.php index 5422d88398d..757f562bfed 100644 --- a/lib/helper.php +++ b/lib/helper.php @@ -41,15 +41,15 @@ class OC_Helper { $app .= '/'; // Check if the app is in the app folder if( file_exists( OC::$APPSROOT . '/apps/'. $app.$file )){ - if(substr($file, -3) == 'php' || substr($file, -3) == 'css'){ + //if(substr($file, -3) == 'php' || substr($file, -3) == 'css'){ if(substr($app, -1, 1) == '/'){ $app = substr($app, 0, strlen($app) - 1); } $urlLinkTo = OC::$WEBROOT . '/?app=' . $app; $urlLinkTo .= ($file!='index.php')?'&getfile=' . urlencode($file):''; - }else{ - $urlLinkTo = OC::$APPSWEBROOT . '/apps/' . $app . $file; - } + //}else{ + // $urlLinkTo = OC::$APPSWEBROOT . '/apps/' . $app . $file; + //} } else{ $urlLinkTo = OC::$WEBROOT . '/' . $app . $file; |