mirror of
https://github.com/Mibew/boilerplate-plugin.git
synced 2025-02-05 08:44:42 +03:00
Do not use MIBEW_WEB_ROOT in pageAddCSS event
This commit is contained in:
parent
96b6df84ce
commit
2e8cc0674a
@ -118,7 +118,8 @@ class Plugin extends \Mibew\Plugin\AbstractPlugin implements \Mibew\Plugin\Plugi
|
||||
*/
|
||||
public function addCustomCss(&$args)
|
||||
{
|
||||
$args['css'][] = MIBEW_WEB_ROOT . '/' . $this->getFilesPath() . '/css/styles.css';
|
||||
$args['css'][] = $args['request']->getBasePath()
|
||||
. '/' . $this->getFilesPath() . '/css/styles.css';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user