diff --git a/bin/dbmigrate.php b/bin/dbmigrate.php --- a/bin/dbmigrate.php +++ b/bin/dbmigrate.php @@ -87,7 +87,7 @@ echo PHP_EOL . 'Complete' . PHP_EOL . PH // run dvdgiessen dbsr echo 'Replace domain information in database:' . PHP_EOL; -$command = 'php vendor\dvdgiessen\dbsr\index.php --host ' . $envs[$dest]['host'] . ' --user ' . $envs[$dest]['user'] . ' --password ' . $envs[$dest]['password'] . ' --database ' . $envs[$dest]['name'] . ' --charset utf8 -- ' . $envs[$source]['domain'] . ' ' . $envs[$dest]['domain']; +$command = 'php vendor\dvdgiessen\dbsr\index.php --host ' . $envs[$dest]['host'] . ' --port ' . $envs[$dest]['port'] . ' --user ' . $envs[$dest]['user'] . ' --password ' . $envs[$dest]['password'] . ' --database ' . $envs[$dest]['name'] . ' --charset utf8 -- ' . $envs[$source]['domain'] . ' ' . $envs[$dest]['domain']; echo ' search for: ' . $envs[$source]['domain'] . PHP_EOL; echo ' replace with: ' . $envs[$dest]['domain'] . PHP_EOL; echo ' command: ' . $command . PHP_EOL;