]> git.mxchange.org Git - friendica.git/blobdiff - mod/install.php
Added logging
[friendica.git] / mod / install.php
index 1ddc8fbad1d6b13ac88191c83c2d5c5174bbeec9..3adcb75aa45b007ab234fd6418bbccb8769cb3f8 100644 (file)
@@ -222,6 +222,7 @@ function install_content(App $a) {
                        $dbdata = notags(trim($_POST['dbdata']));
                        $phpath = notags(trim($_POST['phpath']));
 
+                       $adminmail = notags(trim($_POST['adminmail']));
 
                        $tpl = get_markup_template('install_db.tpl');
                        $o .= replace_macros($tpl, [
@@ -253,7 +254,6 @@ function install_content(App $a) {
                        return $o;
                }; break;
                case 3: { // Site settings
-                       require_once('include/datetime.php');
                        $dbhost = ((x($_POST, 'dbhost')) ? notags(trim($_POST['dbhost'])) : 'localhost');
                        $dbuser = notags(trim($_POST['dbuser']));
                        $dbpass = notags(trim($_POST['dbpass']));