css files are not to be routed through index.php anymore

This commit is contained in:
Thomas Müller 2014-03-26 15:36:55 +01:00
parent b656c68ede
commit 93b984ecf8
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ class URLGenerator implements IURLGenerator {
$app_path = \OC_App::getAppPath($app); $app_path = \OC_App::getAppPath($app);
// Check if the app is in the app folder // Check if the app is in the app folder
if ($app_path && file_exists($app_path . '/' . $file)) { 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; $urlLinkTo = \OC::$WEBROOT . '/index.php/apps/' . $app;
if ($frontControllerActive) { if ($frontControllerActive) {