Skip to content

Commit

Permalink
Merge pull request #50 from Plsk-test/patch-1
Browse files Browse the repository at this point in the history
Fix for incorrect parsing of configure.ini file path
  • Loading branch information
redikultsevsilver authored Dec 23, 2021
2 parents 8fb4126 + 078ed65 commit 62e7a67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/servers/solusvmpro/lib/SolusVM.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

}
Expand Down

0 comments on commit 62e7a67

Please sign in to comment.