mirror of
https://github.com/Mibew/broadcast-plugin.git
synced 2025-01-22 08:50:32 +03:00
Fix js url on non *nix systems
This commit is contained in:
parent
f6b19dce84
commit
b62f3fbc2b
@ -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';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user