more tag filtering in setup

This commit is contained in:
redmatrix 2016-09-29 19:17:09 -07:00
parent 2728cdaf23
commit 07df5833be

View File

@ -94,17 +94,17 @@ class Setup extends \Zotlabs\Web\Controller {
// implied break; // implied break;
case 4: case 4:
$urlpath = \App::get_path(); $urlpath = \App::get_path();
$dbhost = notags(trim($_POST['dbhost'])); $dbhost = trim($_POST['dbhost']);
$dbport = intval(notags(trim($_POST['dbport']))); $dbport = intval(trim($_POST['dbport']));
$dbuser = notags(trim($_POST['dbuser'])); $dbuser = trim($_POST['dbuser']);
$dbpass = notags(trim($_POST['dbpass'])); $dbpass = trim($_POST['dbpass']);
$dbdata = notags(trim($_POST['dbdata'])); $dbdata = trim($_POST['dbdata']);
$dbtype = intval(notags(trim($_POST['dbtype']))); $dbtype = intval(trim($_POST['dbtype']));
$phpath = notags(trim($_POST['phpath'])); $phpath = trim($_POST['phpath']);
$timezone = notags(trim($_POST['timezone'])); $timezone = trim($_POST['timezone']);
$adminmail = notags(trim($_POST['adminmail'])); $adminmail = trim($_POST['adminmail']);
$siteurl = notags(trim($_POST['siteurl'])); $siteurl = trim($_POST['siteurl']);
$server_role = notags(trim($_POST['server_role'])); $server_role = trim($_POST['server_role']);
if(! $server_role) if(! $server_role)
$server_role = 'standard'; $server_role = 'standard';