mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Add port parameter and code enhancement
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
require_once "./lib/PhpAmqpLib/autoload.php";
|
||||
require_once $config['install_dir']."/lib/PhpAmqpLib/autoload.php";
|
||||
|
||||
// Configurations
|
||||
$host = $opts["host"];
|
||||
$port = 5672;
|
||||
$port = $opts["port"];
|
||||
$user = $opts["user"];
|
||||
$pass = $opts["passwd"];
|
||||
$vhost = $opts["vhost"];
|
||||
|
Reference in New Issue
Block a user