From 11f4059a3bc19006752ebae5eea8ea665e22f8e1 Mon Sep 17 00:00:00 2001 From: Pavel Dmitriev Date: Sun, 22 Jan 2023 11:49:15 +0300 Subject: [PATCH] vhost fix --- barcodeScanner.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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