ensure admin setting gets passed through setup
This commit is contained in:
parent
6db8b5bbd2
commit
7501717d2e
@ -31,6 +31,8 @@ function setup_post(&$a) {
|
|||||||
$dbpass = notags(trim($_POST['dbpass']));
|
$dbpass = notags(trim($_POST['dbpass']));
|
||||||
$dbdata = notags(trim($_POST['dbdata']));
|
$dbdata = notags(trim($_POST['dbdata']));
|
||||||
$phpath = notags(trim($_POST['phpath']));
|
$phpath = notags(trim($_POST['phpath']));
|
||||||
|
$adminmail = notags(trim($_POST['adminmail']));
|
||||||
|
$siteurl = notags(trim($_POST['siteurl']));
|
||||||
|
|
||||||
require_once("dba.php");
|
require_once("dba.php");
|
||||||
unset($db);
|
unset($db);
|
||||||
@ -221,6 +223,8 @@ function setup_content(&$a) {
|
|||||||
$dbpass = notags(trim($_POST['dbpass']));
|
$dbpass = notags(trim($_POST['dbpass']));
|
||||||
$dbdata = notags(trim($_POST['dbdata']));
|
$dbdata = notags(trim($_POST['dbdata']));
|
||||||
$phpath = notags(trim($_POST['phpath']));
|
$phpath = notags(trim($_POST['phpath']));
|
||||||
|
$adminmail = notags(trim($_POST['adminmail']));
|
||||||
|
$siteurl = notags(trim($_POST['siteurl']));
|
||||||
|
|
||||||
|
|
||||||
$tpl = get_markup_template('install_db.tpl');
|
$tpl = get_markup_template('install_db.tpl');
|
||||||
@ -262,6 +266,7 @@ function setup_content(&$a) {
|
|||||||
$phpath = notags(trim($_POST['phpath']));
|
$phpath = notags(trim($_POST['phpath']));
|
||||||
|
|
||||||
$adminmail = notags(trim($_POST['adminmail']));
|
$adminmail = notags(trim($_POST['adminmail']));
|
||||||
|
$siteurl = notags(trim($_POST['siteurl']));
|
||||||
$timezone = ((x($_POST,'timezone')) ? ($_POST['timezone']) : 'America/Los_Angeles');
|
$timezone = ((x($_POST,'timezone')) ? ($_POST['timezone']) : 'America/Los_Angeles');
|
||||||
|
|
||||||
$tpl = get_markup_template('install_settings.tpl');
|
$tpl = get_markup_template('install_settings.tpl');
|
||||||
|
Reference in New Issue
Block a user