diff --git a/Plugin.php b/Plugin.php index fde792a..a3964a8 100644 --- a/Plugin.php +++ b/Plugin.php @@ -126,7 +126,7 @@ class Plugin extends \Mibew\Plugin\AbstractPlugin implements \Mibew\Plugin\Plugi { if ($this->checkAdmin()) { if (!strcmp('/operator/users', $args['request']->getPathInfo())) { - $args['js'][] = $this->getFilesPath() . '/js/broadcast.js'; + $args['js'][] = str_replace(DIRECTORY_SEPARATOR, '/', $this->getFilesPath()) . '/js/broadcast.js'; } } }