Inject ROOT_PATH in plugin instead of regenerating it everywhere
This commit is contained in:
parent
7f5250421b
commit
3adbdc2a83
7 changed files with 14 additions and 9 deletions
application/plugin
|
@ -104,6 +104,7 @@ class PluginManager
|
|||
'target' => '_PAGE_',
|
||||
'loggedin' => '_LOGGEDIN_',
|
||||
'basePath' => '_BASE_PATH_',
|
||||
'rootPath' => '_ROOT_PATH_',
|
||||
'bookmarkService' => '_BOOKMARK_SERVICE_',
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue