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')); } /**