forked from GNUsocial/gnu-social
NewMenu uses Plugin::path()
This commit is contained in:
parent
27eeee08c1
commit
9ae3d3de36
@ -331,7 +331,7 @@ class NewMenuPlugin extends Plugin
|
|||||||
array('default', 'identica', 'h4ck3r'))) &&
|
array('default', 'identica', 'h4ck3r'))) &&
|
||||||
($action instanceof AccountSettingsAction ||
|
($action instanceof AccountSettingsAction ||
|
||||||
$action instanceof ConnectSettingsAction)) {
|
$action instanceof ConnectSettingsAction)) {
|
||||||
$action->cssLink(common_path('plugins/NewMenu/newmenu.css'));
|
$action->cssLink($this->path('newmenu.css'));
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user