* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team *
* For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
// Is the local configuration there?
if ((isIncludeReadable(getCachePath() . 'config-local.php')) && (isIncludeReadable('inc/config.php'))) {
// We are better in installation mode
- $GLOBALS['mailer_installing'] = true;
+ $GLOBALS['__mailer_installing'] = true;
// Define default main_title here
setConfigEntry('MAIN_TITLE', 'Your mail-exchange title');
setConfigEntry('OUTPUT_MODE', 'render');
// Both exist! This is bad and should be avoided by the admin
- debug_report_bug(__FILE__, __LINE__, 'You have uploaded or kept an out-dated file at <strong>inc/config.php</strong> along with the new file <strong>'.getCachePath().'config-local.php</strong>. Please remove <strong>inc/config.php</strong> to avoid incompatiblity issues. Thank you.');
+ reportBug(__FILE__, __LINE__, 'You have uploaded or kept an out-dated file at <strong>inc/config.php</strong> along with the new file <strong>'.getCachePath().'config-local.php</strong>. Please remove <strong>inc/config.php</strong> to avoid incompatiblity issues. Thank you.');
} elseif (isIncludeReadable(getCachePath() . 'config-local.php')) {
// Then load it
loadIncludeOnce(getCachePath() . 'config-local.php');
// @TODO Rewrite them to avoid this else block
setConfigEntry('MAIN_TITLE', 'Your mail-exchanger title');
setConfigEntry('SLOGAN' , 'Your cool slogan here');
- setConfigEntry('WEBMASTER' , 'you@some-hoster.tld.invalid');
+ setConfigEntry('WEBMASTER' , 'you@some-hoster.example');
// Set output mode here
setConfigEntry('OUTPUT_MODE', 'render');
outputHtml('<strong>{--MAILER_WARNING--}:</strong>');
if (isInstalled()) {
// You have changed my configuration file!
- debug_report_bug(__FILE__, __LINE__, '{--DIE_CONFIG_CHANGED_YOU--}');
+ reportBug(__FILE__, __LINE__, '{--DIE_CONFIG_CHANGED_YOU--}');
} else {
// Please run the installation script (maybe again)
- debug_report_bug(__FILE__, __LINE__, '{--DIE_RUN_INSTALL_MYSQL--}');
+ reportBug(__FILE__, __LINE__, '{--DIE_RUN_INSTALLER_MYSQL--}');
}
} elseif ((!isInstalling()) && (!isInstallationPhase()) && (empty($GLOBALS['mysql']['password'])) && (getConfig('WARN_NO_PASS') == 'Y')) {
// No database password entered