X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=install.php;h=190941c5abf6b33f11baf7f9329a158bf56cd61b;hb=2f1953ca257ed3d65701357b9535daa691ea6494;hp=a468d2a6f00a2710c4877156e853225fbb1b7bb2;hpb=cb183359e23ae7a5cfb483fa06c6c4b7a8b05fff;p=quix0rs-gnu-social.git diff --git a/install.php b/install.php index a468d2a6f0..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; } @@ -335,6 +356,7 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" Install StatusNet + @@ -351,18 +373,30 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" StatusNet +
+
+
+ +
+
+