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

Commit 07efccd7 authored by Evan Prodromou's avatar Evan Prodromou

add notice source data on install

parent f53b6470
......@@ -189,6 +189,13 @@ function handlePost()
updateStatus("Adding notice source data to database...");
$res = runDbScript(INSTALLDIR.'/db/notice_source.sql', $conn);
if ($res === false) {
updateStatus("Can't run notice source 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