From: Evan Prodromou Date: Thu, 3 Feb 2011 16:19:03 +0000 (-0500) Subject: ClientSideShorten uses Plugin::path() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6494f5938cfe74ae539e15d14d9ae6ba46ab20a5;p=quix0rs-gnu-social.git ClientSideShorten uses Plugin::path() --- diff --git a/plugins/ClientSideShorten/ClientSideShortenPlugin.php b/plugins/ClientSideShorten/ClientSideShortenPlugin.php index 27a3a56f72..443d2fffe0 100644 --- a/plugins/ClientSideShorten/ClientSideShortenPlugin.php +++ b/plugins/ClientSideShorten/ClientSideShortenPlugin.php @@ -53,7 +53,7 @@ class ClientSideShortenPlugin extends Plugin function onEndShowScripts($action){ $action->inlineScript('var Notice_maxContent = ' . Notice::maxContent()); if (common_logged_in()) { - $action->script('plugins/ClientSideShorten/shorten.js'); + $action->script($this->path('shorten.js')); } }