]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
ModPlus uses Plugin::path()
authorEvan Prodromou <evan@status.net>
Thu, 3 Feb 2011 16:28:39 +0000 (11:28 -0500)
committerEvan Prodromou <evan@status.net>
Thu, 3 Feb 2011 16:28:39 +0000 (11:28 -0500)
plugins/ModPlus/ModPlusPlugin.php

index 3e7a8c745572c29ff56eabb430fbefc85a458807..d2b7c09346ba4a8758d820812b7dad1eab5b0c52 100644 (file)
@@ -51,13 +51,13 @@ class ModPlusPlugin extends Plugin
     {
         $user = common_current_user();
         if ($user) {
-            $action->script('plugins/ModPlus/modplus.js');
+            $action->script($this->path('modplus.js'));
         }
         return true;
     }
 
     function onEndShowStatusNetStyles($action) {
-        $action->cssLink('plugins/ModPlus/modplus.css');
+        $action->cssLink($this->path('modplus.css'));
         return true;
     }