ModPlus uses Plugin::path()

This commit is contained in:
Evan Prodromou 2011-02-03 11:28:39 -05:00
parent 2f598f8c7b
commit 50675e356b
1 changed files with 2 additions and 2 deletions

View File

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