We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 8d05768e authored by Evan Prodromou's avatar Evan Prodromou

run foreign services script

parent 43ef29ba
......@@ -196,6 +196,13 @@ function handlePost()
updateStatus("Adding foreign service data to database...");
$res = runDbScript(INSTALLDIR.'/db/foreign_services.sql', $conn);
if ($res === false) {
updateStatus("Can't run foreign service script.", true);
updateStatus("Writing config file...");
$sqlUrl = "mysqli://$username:$password@$host/$database";
$res = writeConf($sitename, $sqlUrl);
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