X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=install.php;h=190941c5abf6b33f11baf7f9329a158bf56cd61b;hb=8f78743198af265b504e41931992493771c1c811;hp=5cb46e27d2ae9234fa5d41afa2199d64ad037208;hpb=513c54fa89085fde783a73c298d61576f834b131;p=quix0rs-gnu-social.git diff --git a/install.php b/install.php index 5cb46e27d2..190941c5ab 100644 --- a/install.php +++ b/install.php @@ -248,6 +248,21 @@ class WebInstaller extends Installer +
+ Site profile + +
@@ -284,7 +299,7 @@ STR; /** * Read and validate input data. * May output side effects. - * + * * @return boolean success */ function prepare() @@ -304,6 +319,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 +332,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 +380,11 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"