ModPlus uses Plugin::path()
This commit is contained in:
		| @@ -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; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user