ModPlus uses Plugin::path()

This commit is contained in:
Evan Prodromou 2011-02-03 11:28:39 -05:00
parent 2f598f8c7b
commit 50675e356b

View 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;
}