Revert "use getAppWebPath() in here as well"
This reverts commit 6254f0a403
.
This commit is contained in:
parent
39be83ca8b
commit
221e656e91
|
@ -22,7 +22,7 @@ class CSSResourceLocator extends ResourceLocator {
|
||||||
$app = substr($style, 0, strpos($style, '/'));
|
$app = substr($style, 0, strpos($style, '/'));
|
||||||
$style = substr($style, strpos($style, '/')+1);
|
$style = substr($style, strpos($style, '/')+1);
|
||||||
$app_path = \OC_App::getAppPath($app);
|
$app_path = \OC_App::getAppPath($app);
|
||||||
$app_url = \OC_App::getAppWebPath($app);
|
$app_url = $this->webroot . '/index.php/apps/' . $app;
|
||||||
if ($this->appendIfExist($app_path, $style.$this->form_factor.'.css', $app_url)
|
if ($this->appendIfExist($app_path, $style.$this->form_factor.'.css', $app_url)
|
||||||
|| $this->appendIfExist($app_path, $style.'.css', $app_url)
|
|| $this->appendIfExist($app_path, $style.'.css', $app_url)
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Reference in New Issue