]> git.mxchange.org Git - mailer.git/blobdiff - inc/install-inc.php
Even more rewrites to EL
[mailer.git] / inc / install-inc.php
index 1f70d3aa550c524d7e69bad93157f918e42a65e8..137257c89eb38d47fd03b58585a54af691c593e8 100644 (file)
@@ -131,10 +131,10 @@ if ((!isInstalled()) || (!isAdminRegistered())) {
                        $content['email']      = postRequestParameter('email');
 
                        // Use default SMTP data
-                       $smtpHost  = getConfig('SMTP_HOSTNAME');
-                       $smtpUser  = getConfig('SMTP_USER');
-                       $smtpPass1 = getConfig('SMTP_PASSWORD');
-                       $smtpPass2 = getConfig('SMTP_PASSWORD');
+                       $smtpHost  = '{?SMTP_HOSTNAME');
+                       $smtpUser  = '{?SMTP_USER?}';
+                       $smtpPass1 = '{?SMTP_PASSWORD?}';
+                       $smtpPass2 = '{?SMTP_PASSWORD?}';
 
                        // Overwrite it with the data from sent (failed) form
                        if (isPostRequestParameterSet('smtp_host')) $smtpHost = postRequestParameter('smtp_host');
@@ -179,7 +179,7 @@ if ((!isInstalled()) || (!isAdminRegistered())) {
                        // MySQL data
                        $OUT = '';
                        foreach ($GLOBALS['install_mysql'] as $key => $value) {
-                               $OUT .= "    <input type=\"hidden\" name=\"mysql[" . $key . "]\" value=\"" . $value . "\" />\n";
+                               $OUT .= '    <input type="hidden" name="mysql[' . $key . ']" value="' . $value . '" />';
                        } // END - foreach
                        $content['mysql_hidden'] = $OUT;