X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=install.php;h=190941c5abf6b33f11baf7f9329a158bf56cd61b;hb=3d4ea0a71f71c9573f4789cdebedbdbae3732413;hp=9b0d19882cf5e4f3e4af9507230490eef9ca6f31;hpb=7765ddae81e9b29af06009d961b3d56b293f527c;p=quix0rs-gnu-social.git diff --git a/install.php b/install.php index 9b0d19882c..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,10 +356,11 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" Install StatusNet - + + - + @@ -347,22 +369,34 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+
+
+ +
+
+