From 7501717d2e844fefb142cbbdac2bca5ab4d77754 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 6 Nov 2012 23:55:05 -0800 Subject: ensure admin setting gets passed through setup --- mod/setup.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mod') 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'); -- cgit v1.2.3