I think this is safe to commit across environments

Note that i deleted a 'sync' directory config it added so that our own
would be used.
This commit is contained in:
Benjamin Melançon 2019-07-18 23:27:19 -04:00
parent 8fdc0426d5
commit 94cf5aeef5

24
ddev_drush_settings.php Normal file
View file

@ -0,0 +1,24 @@
<?php
$version = "";
if (defined("\Drupal::VERSION")) {
$version = \Drupal::VERSION;
} else if (defined("VERSION")) {
$version = VERSION;
}
// Use the array format for D7+
if (version_compare($version, "7.0") > 0) {
$databases['default']['default'] = array(
'database' => "db",
'username' => "db",
'password' => "db",
'host' => "127.0.0.1",
'driver' => "mysql",
'port' => 32768,
'prefix' => "",
);
} else {
// or the old db_url format for d6
$db_url = 'mysqli://db:db@127.0.0.1:32768/db';
}