Add port parameter and code enhancement

This commit is contained in:
Guillaume COEUGNET
2016-04-01 10:05:52 +02:00
parent 3855848318
commit 32ac7a59d3

View File

@ -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"];