Realtime plugin uses Plugin::path()
This commit is contained in:
parent
0a6d2d24b1
commit
26407c3e35
@ -116,8 +116,9 @@ class RealtimePlugin extends Plugin
|
|||||||
|
|
||||||
function onEndShowStatusNetStyles($action)
|
function onEndShowStatusNetStyles($action)
|
||||||
{
|
{
|
||||||
$action->cssLink('plugins/Realtime/realtimeupdate.css',
|
$action->cssLink($this->path('realtimeupdate.css'),
|
||||||
null, 'screen, projection, tv');
|
null,
|
||||||
|
'screen, projection, tv');
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -322,7 +323,7 @@ class RealtimePlugin extends Plugin
|
|||||||
|
|
||||||
function _getScripts()
|
function _getScripts()
|
||||||
{
|
{
|
||||||
return array('plugins/Realtime/realtimeupdate.min.js');
|
return array($this->path('realtimeupdate.min.js'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user