NewMenu uses Plugin::path()

This commit is contained in:
Evan Prodromou 2011-02-03 11:41:47 -05:00
parent 27eeee08c1
commit 9ae3d3de36

View File

@ -331,7 +331,7 @@ class NewMenuPlugin extends Plugin
array('default', 'identica', 'h4ck3r'))) &&
($action instanceof AccountSettingsAction ||
$action instanceof ConnectSettingsAction)) {
$action->cssLink(common_path('plugins/NewMenu/newmenu.css'));
$action->cssLink($this->path('newmenu.css'));
}
return true;
}