diff --git a/lib/private/urlgenerator.php b/lib/private/urlgenerator.php index 44b46ef6700711b3761ee3bd7fbb4582b9dc08bb..b7ae8dd0f60d4d984e1da4fc430d3bf532800e1b 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) {