Commit 10e62bfd authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #7893 from owncloud/no-routed-link-for-css-files

css files are not to be routed through index.php anymore
parents be78cd53 93b984ec
......@@ -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) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment