From 078ed6581c8d8bc337ee5d9d976db00635c9fde1 Mon Sep 17 00:00:00 2001 From: Plsk-test Date: Thu, 23 Dec 2021 02:38:16 -0500 Subject: [PATCH] Fix for incorrect parsing of configure.ini file path modified: modules/servers/solusvmpro/lib/SolusVM.php --- modules/servers/solusvmpro/lib/SolusVM.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/servers/solusvmpro/lib/SolusVM.php b/modules/servers/solusvmpro/lib/SolusVM.php index 4d120eb..1e710db 100644 --- a/modules/servers/solusvmpro/lib/SolusVM.php +++ b/modules/servers/solusvmpro/lib/SolusVM.php @@ -103,7 +103,7 @@ public function __construct( $params, $debug = false ) { $this->pid = $this->getParam( "pid" ); # Product/Service ID //Parse Ini file - $config_file = dirname(ROOTDIR) . '/modules/servers/solusvmpro/configure.ini'; + $config_file = ROOTDIR . '/modules/servers/solusvmpro/configure.ini'; $this->configIni = parse_ini_file( $config_file ); }