Merge pull request #6844 from owncloud/fix-css-loading-master

Revert "use getAppWebPath() in here as well"
This commit is contained in:
Jörn Friedrich Dreyer 2014-01-21 08:31:22 -08:00
commit 0dd54a1250
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ class CSSResourceLocator extends ResourceLocator {
$app = substr($style, 0, strpos($style, '/'));
$style = substr($style, strpos($style, '/')+1);
$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)
|| $this->appendIfExist($app_path, $style.'.css', $app_url)
) {