Fix to use correct $php_dir

This commit is contained in:
Shivam Mathur
2020-05-17 03:39:04 +05:30
parent c30a9630bb
commit 08c60fceea
5 changed files with 7 additions and 11 deletions

5
dist/index.js vendored
View File

@ -2269,10 +2269,7 @@ async function addINIValuesWindows(ini_values_csv) {
script +=
(await utils.addLog('$tick', line, 'Added to php.ini', 'win32')) + '\n';
});
return ('Add-Content C:\\tools\\php\\php.ini "' +
ini_values.join('\n') +
'"' +
script);
return ('Add-Content "$php_dir\\php.ini" "' + ini_values.join('\n') + '"' + script);
}
exports.addINIValuesWindows = addINIValuesWindows;
/**