We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67372ba commit 538b615Copy full SHA for 538b615
commands/core/core.drush.inc
@@ -758,6 +758,11 @@ function drush_core_config_load($headers = TRUE) {
758
function _drush_core_config_php_ini_files() {
759
$ini_files = array();
760
$ini_files[] = php_ini_loaded_file();
761
+ if ($drush_ini = getenv('DRUSH_INI')) {
762
+ if (file_exists($drush_ini)) {
763
+ $ini_files[] = $drush_ini;
764
+ }
765
766
foreach (array(DRUSH_BASE_PATH, '/etc/drush', drush_server_home() . '/.drush') as $ini_dir) {
767
if (file_exists($ini_dir . "/php.ini")) {
768
$ini_files[] = realpath($ini_dir . "/php.ini");
0 commit comments