Commit 8f8b7e40 authored by Adrian Rossouw's avatar Adrian Rossouw Committed by adrian

Fix an error in the population of the database url, that was getting triggered...

Fix an error in the population of the database url, that was getting triggered during import of sites that have non matching user names and database names
parent 5931e076
......@@ -6,7 +6,7 @@
'password' => '<?php print $db_passwd; ?>',
'host' => '<?php print $db_host ?>',
);
$db_url = '<?php print strtr("%db_type://%db_user:%db_passwd@%db_host/%db_name", array('%db_type' => urlencode($db_type), '%db_user' => urlencode($db_name), '%db_passwd' => urlencode($db_passwd), '%db_host' => urlencode($db_host), '%db_name' => urlencode($db_name))); ?>';
$db_url = '<?php print strtr("%db_type://%db_user:%db_passwd@%db_host/%db_name", array('%db_type' => urlencode($db_type), '%db_user' => urlencode($db_user), '%db_passwd' => urlencode($db_passwd), '%db_host' => urlencode($db_host), '%db_name' => urlencode($db_name))); ?>';
$profile = "<?php print $profile ?>";
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment