summaryrefslogtreecommitdiffstats
path: root/lib/private/urlgenerator.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-03-26 15:36:55 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-03-26 15:36:55 +0100
commit93b984ecf8da4148fa10a72a35ce5cba371c7a87 (patch)
tree67b229072145fc3d4aeb1b6c620a61a1bad16da9 /lib/private/urlgenerator.php
parentb656c68edee995e17f6eb1febe2a1d620564a2c9 (diff)
downloadnextcloud-server-93b984ecf8da4148fa10a72a35ce5cba371c7a87.tar.gz
nextcloud-server-93b984ecf8da4148fa10a72a35ce5cba371c7a87.zip
css files are not to be routed through index.php anymore
Diffstat (limited to 'lib/private/urlgenerator.php')
-rw-r--r--lib/private/urlgenerator.php2
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) {