From: Evan Prodromou Date: Wed, 4 Mar 2009 13:47:37 +0000 (-0800) Subject: run foreign services script X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8d05768e2cfcc1a4534307ae9a3be333376d4cfe;p=quix0rs-gnu-social.git run foreign services script --- diff --git a/install.php b/install.php index fbfd5e4d11..7aa8836c22 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);