diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-03-26 16:48:54 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-03-26 16:48:54 +0100 |
commit | 10e62bfd68ccd55370d21ae2b16af551f1e8ca76 (patch) | |
tree | 9c57a865e4ecd215d6d44bbb62a7a9d23e17a570 | |
parent | be78cd53f94ed3b79adc909fe0fa3f9ab306dca7 (diff) | |
parent | 93b984ecf8da4148fa10a72a35ce5cba371c7a87 (diff) | |
download | nextcloud-server-10e62bfd68ccd55370d21ae2b16af551f1e8ca76.tar.gz nextcloud-server-10e62bfd68ccd55370d21ae2b16af551f1e8ca76.zip |
Merge pull request #7893 from owncloud/no-routed-link-for-css-files
css files are not to be routed through index.php anymore
-rw-r--r-- | lib/private/urlgenerator.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/urlgenerator.php b/lib/private/urlgenerator.php index 44b46ef6700..b7ae8dd0f60 100644 --- a/lib/private/urlgenerator.php +++ b/lib/private/urlgenerator.php @@ -60,7 +60,7 @@ class URLGenerator implements IURLGenerator { $app_path = \OC_App::getAppPath($app); // Check if the app is in the app folder if ($app_path && file_exists($app_path . '/' . $file)) { - if (substr($file, -3) == 'php' || substr($file, -3) == 'css') { + if (substr($file, -3) == 'php') { $urlLinkTo = \OC::$WEBROOT . '/index.php/apps/' . $app; if ($frontControllerActive) { |