From: Evan Prodromou Date: Thu, 3 Feb 2011 17:18:57 +0000 (-0500) Subject: Realtime needs to load from own directory, not subclass's X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ffb7ca3e9939076285b7823048c0a5eae90cf3b8;p=quix0rs-gnu-social.git Realtime needs to load from own directory, not subclass's --- diff --git a/plugins/Realtime/RealtimePlugin.php b/plugins/Realtime/RealtimePlugin.php index 5d119982f5..246b1f9735 100644 --- a/plugins/Realtime/RealtimePlugin.php +++ b/plugins/Realtime/RealtimePlugin.php @@ -116,7 +116,7 @@ class RealtimePlugin extends Plugin function onEndShowStatusNetStyles($action) { - $action->cssLink($this->path('realtimeupdate.css'), + $action->cssLink(Plugin::staticPath('Realtime', 'realtimeupdate.css'), null, 'screen, projection, tv'); return true; @@ -323,7 +323,7 @@ class RealtimePlugin extends Plugin function _getScripts() { - return array($this->path('realtimeupdate.min.js')); + return array(Plugin::staticPath('Realtime', 'realtimeupdate.min.js')); } /**