summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--install.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/install.php b/install.php
index fbfd5e4d1..7aa8836c2 100644
--- a/install.php
+++ b/install.php
@@ -196,6 +196,13 @@ function handlePost()
showForm();
return;
}
+ 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);
+ showForm();
+ return;
+ }
updateStatus("Writing config file...");
$sqlUrl = "mysqli://$username:$password@$host/$database";
$res = writeConf($sitename, $sqlUrl);