From: Evan Prodromou Date: Thu, 3 Feb 2011 16:28:39 +0000 (-0500) Subject: ModPlus uses Plugin::path() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=50675e356b4e5b184de35c3bfdc1d5207f5a4da0;p=quix0rs-gnu-social.git ModPlus uses Plugin::path() --- diff --git a/plugins/ModPlus/ModPlusPlugin.php b/plugins/ModPlus/ModPlusPlugin.php index 3e7a8c7455..d2b7c09346 100644 --- a/plugins/ModPlus/ModPlusPlugin.php +++ b/plugins/ModPlus/ModPlusPlugin.php @@ -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; }