diff --git a/barcodeScanner.php b/barcodeScanner.php index 8c32a34..af8b168 100644 --- a/barcodeScanner.php +++ b/barcodeScanner.php @@ -38,7 +38,7 @@ while (1) { } } -function rabbitConnect($rabbitHost, $rabbitPort, $rabbitLogin, $rabbitPass, $rabbitUseSSL=false) { +function rabbitConnect($rabbitHost, $rabbitPort, $rabbitLogin, $rabbitPass, $rabbitUseSSL=false, $rabbitVirtualHost="/") { if ($rabbitUseSSL) { $ssl_opts=[ // set some SSL/TLS specific options