X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Finstall-inc.php;h=cf051fd03384f6a6329f25f7bb45882ab73bd72a;hp=91eab08c8bcb1b4d4e1a97b9d5c1d066a9967000;hb=aea4f2a51ffa6f483056c6ce167c8c6fd8ca6129;hpb=b2fff4de774cc58dfae0b8dd2a291af28f254833 diff --git a/inc/install-inc.php b/inc/install-inc.php index 91eab08c8b..cf051fd033 100644 --- a/inc/install-inc.php +++ b/inc/install-inc.php @@ -127,11 +127,11 @@ if ((!isInstalled()) || (!isAdminRegistered())) case "3": // Set more values - define('__SPATH_VALUE' , REQUEST_POST('spath')); - define('__BURL_VALUE' , REQUEST_POST('burl')); - define('__TITLE_VALUE' , REQUEST_POST('title')); - define('__SLOGAN_VALUE' , REQUEST_POST('slogan')); - define('__EMAIL_VALUE' , REQUEST_POST('email')); + define('__SPATH_VALUE' , REQUEST_POST('spath')); + define('__BURL_VALUE' , REQUEST_POST('burl')); + define('__TITLE_VALUE' , REQUEST_POST('title')); + define('__SLOGAN_VALUE', REQUEST_POST('slogan')); + define('__EMAIL_VALUE' , REQUEST_POST('email')); // Use default SMTP data $smtpHost = constant('SMTP_HOSTNAME'); @@ -144,19 +144,19 @@ if ((!isInstalled()) || (!isAdminRegistered())) if (REQUEST_ISSET_POST(('smtp_user'))) $smtpUser = REQUEST_POST('smtp_user'); // MySQL settings - define('__MYSQL_HOST' , $mysql['host']); - define('__MYSQL_DBASE' , $mysql['dbase']); - define('__MYSQL_PREFIX' , $mysql['prefix']); - define('__TABLE_TYPE' , $mysql['type']); - define('__MYSQL_LOGIN' , $mysql['login']); - define('__MYSQL_PASS1' , $mysql['pass1']); - define('__MYSQL_PASS2' , $mysql['pass2']); + define('__MYSQL_HOST' , $mysql['host']); + define('__MYSQL_DBASE' , $mysql['dbase']); + define('__MYSQL_PREFIX', $mysql['prefix']); + define('__TABLE_TYPE' , $mysql['type']); + define('__MYSQL_LOGIN' , $mysql['login']); + define('__MYSQL_PASS1' , $mysql['pass1']); + define('__MYSQL_PASS2' , $mysql['pass2']); // Set constants for SMTP data - define('__SMTP_HOST' , $smtpHost); - define('__SMTP_USER' , $smtpUser); - define('__SMTP_PASS1' , $smtpPass1); - define('__SMTP_PASS2' , $smtpPass2); + define('__SMTP_HOST' , $smtpHost); + define('__SMTP_USER' , $smtpUser); + define('__SMTP_PASS1', $smtpPass1); + define('__SMTP_PASS2', $smtpPass2); // Load template LOAD_TEMPLATE("install_page3"); @@ -164,23 +164,23 @@ if ((!isInstalled()) || (!isAdminRegistered())) case "5": // Misc settings // General settings - define('__SPATH_VALUE' , REQUEST_POST('spath')); - define('__BURL_VALUE' , REQUEST_POST('burl')); - define('__TITLE_VALUE' , REQUEST_POST('title')); - define('__SLOGAN_VALUE' , REQUEST_POST('slogan')); - define('__EMAIL_VALUE' , REQUEST_POST('email')); + define('__SPATH_VALUE' , REQUEST_POST('spath')); + define('__BURL_VALUE' , REQUEST_POST('burl')); + define('__TITLE_VALUE' , REQUEST_POST('title')); + define('__SLOGAN_VALUE', REQUEST_POST('slogan')); + define('__EMAIL_VALUE' , REQUEST_POST('email')); // MySQL settings - define('__MYSQL_HOST' , $mysql['host']); - define('__MYSQL_DBASE' , $mysql['dbase']); - define('__MYSQL_PREFIX' , $mysql['prefix']); - define('__TABLE_TYPE' , $mysql['type']); - define('__MYSQL_LOGIN' , $mysql['login']); + define('__MYSQL_HOST' , $mysql['host']); + define('__MYSQL_DBASE' , $mysql['dbase']); + define('__MYSQL_PREFIX', $mysql['prefix']); + define('__TABLE_TYPE' , $mysql['type']); + define('__MYSQL_LOGIN' , $mysql['login']); // SMTP settings - define('__SMTP_HOST' , REQUEST_POST('smtp_host')); - define('__SMTP_USER' , REQUEST_POST('smtp_user')); - define('__SMTP_PASS' , REQUEST_POST('smtp_pass1')); + define('__SMTP_HOST', REQUEST_POST('smtp_host')); + define('__SMTP_USER', REQUEST_POST('smtp_user')); + define('__SMTP_PASS', REQUEST_POST('smtp_pass1')); OUTPUT_HTML("
@@ -200,10 +200,10 @@ if ((!isInstalled()) || (!isAdminRegistered()))