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

Commit 18f77499 authored by Evan Prodromou's avatar Evan Prodromou

run sms carrier script on install

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