]> source.dussan.org Git - nextcloud-server.git/commitdiff
css files are not to be routed through index.php anymore
authorThomas Müller <thomas.mueller@tmit.eu>
Wed, 26 Mar 2014 14:36:55 +0000 (15:36 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Wed, 26 Mar 2014 14:36:55 +0000 (15:36 +0100)
lib/private/urlgenerator.php

index 44b46ef6700711b3761ee3bd7fbb4582b9dc08bb..b7ae8dd0f60d4d984e1da4fc430d3bf532800e1b 100644 (file)
@@ -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) {