From: Evan Prodromou Date: Thu, 3 Feb 2011 15:58:06 +0000 (-0500) Subject: Realtime plugin uses Plugin::path() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=26407c3e35a328879816f56f3b722b1b1c3b5d8a;p=quix0rs-gnu-social.git Realtime plugin uses Plugin::path() --- diff --git a/plugins/Realtime/RealtimePlugin.php b/plugins/Realtime/RealtimePlugin.php index 113187e1e3..5d119982f5 100644 --- a/plugins/Realtime/RealtimePlugin.php +++ b/plugins/Realtime/RealtimePlugin.php @@ -116,8 +116,9 @@ class RealtimePlugin extends Plugin function onEndShowStatusNetStyles($action) { - $action->cssLink('plugins/Realtime/realtimeupdate.css', - null, 'screen, projection, tv'); + $action->cssLink($this->path('realtimeupdate.css'), + null, + 'screen, projection, tv'); return true; } @@ -322,7 +323,7 @@ class RealtimePlugin extends Plugin function _getScripts() { - return array('plugins/Realtime/realtimeupdate.min.js'); + return array($this->path('realtimeupdate.min.js')); } /**