From: Brion Vibber Date: Thu, 28 Jan 2010 03:50:08 +0000 (-0800) Subject: fix for fix for bad realtime JS load X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f026ecec322e59899b5ce87abaa6d93738f67b9e;p=quix0rs-gnu-social.git fix for fix for bad realtime JS load --- diff --git a/plugins/Realtime/RealtimePlugin.php b/plugins/Realtime/RealtimePlugin.php index 16e28e94d3..6c212453e4 100644 --- a/plugins/Realtime/RealtimePlugin.php +++ b/plugins/Realtime/RealtimePlugin.php @@ -87,7 +87,7 @@ class RealtimePlugin extends Plugin $scripts = $this->_getScripts(); foreach ($scripts as $script) { - $action->script(common_path($script)); + $action->script($script); } $user = common_current_user(); @@ -307,7 +307,7 @@ class RealtimePlugin extends Plugin function _getScripts() { - return array('plugins/Realtime/realtimeupdate.js'); + return array(common_path('plugins/Realtime/realtimeupdate.js')); } function _updateInitialize($timeline, $user_id)