# HG changeset patch # User "Maarten de Keizer " # Date 2014-09-28 19:15:14 # Node ID 5241047d77b40fae6aa981c23cfd92d95eb93b20 # Parent 4228cc07e008a9109f42323c6abedb39f0c5951b Fix port number use in dbsr 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;