summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-03-04 05:47:37 -0800
committerEvan Prodromou <evan@controlyourself.ca>2009-03-04 05:47:37 -0800
commit8d05768e2cfcc1a4534307ae9a3be333376d4cfe (patch)
treedb888e7749247fa2a6110ce9a2338b9e2b6d6064 /install.php
parent43ef29ba0c64f19b93a2389ab7cd26158964a20b (diff)
run foreign services script
Diffstat (limited to 'install.php')
-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);