mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-07-25 08:09:08 +07:00
Fix to use correct $php_dir
This commit is contained in:
5
dist/index.js
vendored
5
dist/index.js
vendored
@ -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;
|
||||
/**
|
||||
|
Reference in New Issue
Block a user