css files are not to be routed through index.php anymore
This commit is contained in:
parent
b656c68ede
commit
93b984ecf8
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue