From: Evan Prodromou Date: Thu, 3 Feb 2011 16:20:57 +0000 (-0500) Subject: DirectionDetector uses Plugin::path() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0ba450373d3ca788fa4baf7d85e266c4dc77f2ca;p=quix0rs-gnu-social.git DirectionDetector uses Plugin::path() --- diff --git a/plugins/DirectionDetector/DirectionDetectorPlugin.php b/plugins/DirectionDetector/DirectionDetectorPlugin.php index 4a38f390f1..ec206dd75c 100644 --- a/plugins/DirectionDetector/DirectionDetectorPlugin.php +++ b/plugins/DirectionDetector/DirectionDetectorPlugin.php @@ -129,7 +129,7 @@ class DirectionDetectorPlugin extends Plugin { */ function onEndShowScripts($action){ if (common_logged_in()) { - $action->script('plugins/DirectionDetector/jquery.DirectionDetector.js'); + $action->script($this->path('jquery.DirectionDetector.js')); } }