mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 23:35:12 +00:00
ensure admin setting gets passed through setup
This commit is contained in:
parent
6db8b5bbd2
commit
7501717d2e
1 changed files with 5 additions and 0 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue