|
|
@ -43,8 +43,7 @@ class CSSResourceLocator extends ResourceLocator { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public function doFind($style) { |
|
|
|
public function doFind($style) { |
|
|
|
$app = substr($style, 0, strpos($style, '/')); |
|
|
|
$app = substr($style, 0, strpos($style, '/')); |
|
|
|
if (strpos($style, '3rdparty') === 0 |
|
|
|
if ($this->appendIfExist($this->serverroot, $style.'.css') |
|
|
|
&& $this->appendIfExist($this->serverroot, $style.'.css') |
|
|
|
|
|
|
|
|| $this->appendIfExist($this->serverroot, 'core/'.$style.'.css') |
|
|
|
|| $this->appendIfExist($this->serverroot, 'core/'.$style.'.css') |
|
|
|
) { |
|
|
|
) { |
|
|
|
return; |
|
|
|
return; |
|
|
|