X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=install.php;h=054be3d8d723a66783d612f893154af51115f9fb;hb=6ae214afb68584ea0dc62a28757a864e2df9b1c7;hp=5cb46e27d2ae9234fa5d41afa2199d64ad037208;hpb=25198a8d4cee5b2182f1ecb99192a4108a01afa4;p=quix0rs-gnu-social.git diff --git a/install.php b/install.php index 5cb46e27d2..054be3d8d7 100644 --- a/install.php +++ b/install.php @@ -248,6 +248,20 @@ class WebInstaller extends Installer +
+ Site profile + +
@@ -284,7 +298,7 @@ STR; /** * Read and validate input data. * May output side effects. - * + * * @return boolean success */ function prepare() @@ -304,6 +318,8 @@ STR; $this->adminEmail = $post->string('admin_email'); $this->adminUpdates = $post->string('admin_updates'); + $this->siteProfile = $post->string('site_profile'); + $this->server = $_SERVER['HTTP_HOST']; $this->path = substr(dirname($_SERVER['PHP_SELF']), 1); @@ -315,12 +331,16 @@ STR; if (!$this->validateAdmin()) { $fail = true; } - + if ($this->adminPass != $adminPass2) { $this->updateStatus("Administrator passwords do not match. Did you mistype?", true); $fail = true; } - + + if (!$this->validateSiteProfile()) { + $fail = true; + } + return !$fail; } @@ -359,11 +379,11 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"