- $dbhost = notags(trim(defaults($_POST, 'dbhost', Core\Installer::DEFAULT_HOST)));
- $dbuser = notags(trim(defaults($_POST, 'dbuser', '')));
- $dbpass = notags(trim(defaults($_POST, 'dbpass', '')));
- $dbdata = notags(trim(defaults($_POST, 'dbdata', '')));
- $timezone = notags(trim(defaults($_POST, 'timezone', Core\Installer::DEFAULT_TZ)));
- $language = notags(trim(defaults($_POST, 'language', Core\Installer::DEFAULT_LANG)));
- $adminmail = notags(trim(defaults($_POST, 'adminmail', '')));
+ $dbhost = Strings::removeTags(trim(defaults($_POST, 'dbhost', Core\Installer::DEFAULT_HOST)));
+ $dbuser = Strings::removeTags(trim(defaults($_POST, 'dbuser', '')));
+ $dbpass = Strings::removeTags(trim(defaults($_POST, 'dbpass', '')));
+ $dbdata = Strings::removeTags(trim(defaults($_POST, 'dbdata', '')));
+ $timezone = Strings::removeTags(trim(defaults($_POST, 'timezone', Core\Installer::DEFAULT_TZ)));
+ $language = Strings::removeTags(trim(defaults($_POST, 'language', Core\Installer::DEFAULT_LANG)));
+ $adminmail = Strings::removeTags(trim(defaults($_POST, 'adminmail', '')));