From 079479fda618f75fa0114139e620925ce78c77de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= Date: Sat, 6 May 2017 23:20:23 +0200 Subject: [PATCH] Use option value --- install/install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/install.php b/install/install.php index 683b8a3f81..5d50bad56c 100644 --- a/install/install.php +++ b/install/install.php @@ -114,7 +114,7 @@ if(isset($cmd_opt['autoinstall']) && is_file($cmd_opt['autoinstall'])) { if($path_parts['extension'] == 'php') { include_once $cmd_opt['autoinstall']; } elseif($path_parts['extension'] == 'ini') { - $tmp = ini_to_array(file_get_contents('autoinstall.ini')); + $tmp = ini_to_array(file_get_contents($cmd_opt['autoinstall'])); if(!is_array($tmp['install'])) $tmp['install'] = array(); if(!is_array($tmp['ssl_cert'])) $tmp['ssl_cert'] = array(); if(!is_array($tmp['expert'])) $tmp['expert'] = array(); -- GitLab