* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2012 by Mailer Developer Team *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team *
* For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
initSqls();
// Remove any existing "cache"
- unset($GLOBALS['is_sql_link_up']);
+ unsetSqlLinkUp(__FILE__, __LINE__);
// Connect to database server
- SQL_CONNECT($GLOBALS['install_mysql']['host'], $GLOBALS['install_mysql']['login'], $GLOBALS['install_mysql']['pass1'], __FILE__, __LINE__);
+ SQL_CONNECT($GLOBALS['install_mysql']['host'], $GLOBALS['install_mysql']['login'], $GLOBALS['install_mysql']['password1'], __FILE__, __LINE__);
// Is the link up?
if (SQL_IS_LINK_UP()) {
foreach ($GLOBALS['install_mysql'] as $key => $value) {
$OUT .= ' <input type="hidden" name="mysql[' . $key . ']" value="' . $value . '" />';
} // END foreach
- $content['mysql_hidden'] = $OUT;
- $content['spath'] = postRequestElement('spath');
- $content['burl'] = postRequestElement('burl');
- $content['title'] = postRequestElement('title');
- $content['slogan'] = postRequestElement('slogan');
- $content['email'] = postRequestElement('email');
- $content['smtp_host'] = postRequestElement('smtp_host');
- $content['smtp_user'] = postRequestElement('smtp_user');
- $content['smtp_pass'] = postRequestElement('smtp_pass1');
+ $content['mysql_hidden'] = $OUT;
+ $content['spath'] = postRequestElement('spath');
+ $content['burl'] = postRequestElement('burl');
+ $content['title'] = postRequestElement('title');
+ $content['slogan'] = postRequestElement('slogan');
+ $content['email'] = postRequestElement('email');
+ $content['smtp_host'] = postRequestElement('smtp_host');
+ $content['smtp_user'] = postRequestElement('smtp_user');
+ $content['smtp_password'] = postRequestElement('smtp_password1');
// Load template
addTemplateToInstallContent('install_fatal_errors', $content);
postRequestElement('mysql', 'host'),
postRequestElement('mysql', 'dbase'),
postRequestElement('mysql', 'login'),
- postRequestElement('mysql', 'pass1'),
+ postRequestElement('mysql', 'password1'),
postRequestElement('mysql', 'prefix'),
postRequestElement('mysql', 'type'),
postRequestElement('smtp_host'),
postRequestElement('smtp_user'),
- postRequestElement('smtp_pass1')
+ postRequestElement('smtp_password1')
);
// Register ext-sql_patches and ext-task