From: Evan Prodromou Date: Thu, 3 Feb 2011 17:04:54 +0000 (-0500) Subject: Bookmark uses Plugin::path() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=68cf2bdced6fab78639fed15d72a134ce2a3f657;p=quix0rs-gnu-social.git Bookmark uses Plugin::path() --- diff --git a/plugins/Bookmark/BookmarkPlugin.php b/plugins/Bookmark/BookmarkPlugin.php index 800a26e795..2e6baf5e4e 100644 --- a/plugins/Bookmark/BookmarkPlugin.php +++ b/plugins/Bookmark/BookmarkPlugin.php @@ -149,7 +149,7 @@ class BookmarkPlugin extends Plugin function onEndShowStyles($action) { - $action->cssLink('plugins/Bookmark/bookmark.css'); + $action->cssLink($this->path('bookmark.css')); return true; } diff --git a/plugins/Bookmark/bookmarkpopup.php b/plugins/Bookmark/bookmarkpopup.php index 24ed79612b..33f983a93a 100644 --- a/plugins/Bookmark/bookmarkpopup.php +++ b/plugins/Bookmark/bookmarkpopup.php @@ -107,6 +107,6 @@ class BookmarkpopupAction extends NewbookmarkAction function showScripts() { parent::showScripts(); - $this->script(common_path('plugins/Bookmark/bookmarkpopup.js')); + $this->script(Plugin::staticPath('Bookmark', 'bookmarkpopup.js')); } }