Bookmark uses Plugin::path()
This commit is contained in:
parent
77769e4b3c
commit
68cf2bdced
@ -149,7 +149,7 @@ class BookmarkPlugin extends Plugin
|
|||||||
|
|
||||||
function onEndShowStyles($action)
|
function onEndShowStyles($action)
|
||||||
{
|
{
|
||||||
$action->cssLink('plugins/Bookmark/bookmark.css');
|
$action->cssLink($this->path('bookmark.css'));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -107,6 +107,6 @@ class BookmarkpopupAction extends NewbookmarkAction
|
|||||||
function showScripts()
|
function showScripts()
|
||||||
{
|
{
|
||||||
parent::showScripts();
|
parent::showScripts();
|
||||||
$this->script(common_path('plugins/Bookmark/bookmarkpopup.js'));
|
$this->script(Plugin::staticPath('Bookmark', 'bookmarkpopup.js'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user