Skip to content

Commit 079479f

Browse files
Use option value
1 parent b1b1b8f commit 079479f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/install.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
if($path_parts['extension'] == 'php') {
115115
include_once $cmd_opt['autoinstall'];
116116
} elseif($path_parts['extension'] == 'ini') {
117-
$tmp = ini_to_array(file_get_contents('autoinstall.ini'));
117+
$tmp = ini_to_array(file_get_contents($cmd_opt['autoinstall']));
118118
if(!is_array($tmp['install'])) $tmp['install'] = array();
119119
if(!is_array($tmp['ssl_cert'])) $tmp['ssl_cert'] = array();
120120
if(!is_array($tmp['expert'])) $tmp['expert'] = array();

0 commit comments

Comments
 (0)