aboutsummaryrefslogtreecommitdiffstats
path: root/mod/setup.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-11-06 23:55:05 -0800
committerfriendica <info@friendica.com>2012-11-06 23:55:05 -0800
commit7501717d2e844fefb142cbbdac2bca5ab4d77754 (patch)
tree3e80a2eaa4791c003ba25263a91bdb7b37489a6a /mod/setup.php
parent6db8b5bbd213693587de6d696e401d5b936b3b80 (diff)
downloadvolse-hubzilla-7501717d2e844fefb142cbbdac2bca5ab4d77754.tar.gz
volse-hubzilla-7501717d2e844fefb142cbbdac2bca5ab4d77754.tar.bz2
volse-hubzilla-7501717d2e844fefb142cbbdac2bca5ab4d77754.zip
ensure admin setting gets passed through setup
Diffstat (limited to 'mod/setup.php')
-rwxr-xr-xmod/setup.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/setup.php b/mod/setup.php
index e6b8e852a..b3649ca40 100755
--- a/mod/setup.php
+++ b/mod/setup.php
@@ -31,6 +31,8 @@ function setup_post(&$a) {
$dbpass = notags(trim($_POST['dbpass']));
$dbdata = notags(trim($_POST['dbdata']));
$phpath = notags(trim($_POST['phpath']));
+ $adminmail = notags(trim($_POST['adminmail']));
+ $siteurl = notags(trim($_POST['siteurl']));
require_once("dba.php");
unset($db);
@@ -221,6 +223,8 @@ function setup_content(&$a) {
$dbpass = notags(trim($_POST['dbpass']));
$dbdata = notags(trim($_POST['dbdata']));
$phpath = notags(trim($_POST['phpath']));
+ $adminmail = notags(trim($_POST['adminmail']));
+ $siteurl = notags(trim($_POST['siteurl']));
$tpl = get_markup_template('install_db.tpl');
@@ -262,6 +266,7 @@ function setup_content(&$a) {
$phpath = notags(trim($_POST['phpath']));
$adminmail = notags(trim($_POST['adminmail']));
+ $siteurl = notags(trim($_POST['siteurl']));
$timezone = ((x($_POST,'timezone')) ? ($_POST['timezone']) : 'America/Los_Angeles');
$tpl = get_markup_template('install_settings.tpl');