// Output message to user and die
if (EXT_IS_ACTIVE("debug")) {
// Debug extension found! :-)
+ // @TODO Can this be rewritten to mxchange_die() ?
die("Error message written to debug.log. Please try to call <a href=\"".URL."\">the main page</a> to continue.");
} else {
// No debug extension found
+ // @TODO Find a way to rewrite debug_print_backtrace() so we can maybe
+ // @TODO (?) rewrite this to mxchange_die()
print("Please report this error at <a href=\"http://bugs.mxchange.org\" rel=\"external\" target=\"_blank\">bugs.mxchange.org</a>:<pre>");
debug_print_backtrace();
die("</pre>Thank you for your help finding bugs.");
// Check if the user setups his MySQL stuff...
if ((empty($MySQL['login'])) && (!defined('mxchange_installing')) && (!isset($_GET['installing'])) && (isBooleanConstantAndTrue('mxchange_installed'))) {
// No login entered and outside installation mode
- echo "<STRONG>".LANG_WARNING.":</STRONG> ";
+ echo "<strong>".LANG_WARNING.":</strong> ";
if (isBooleanConstantAndTrue('mxchange_installed')) {
// You have changed my configuration file!
die(DIE_CONFIG_CHANGED_YOU);
}
} elseif ((!isBooleanConstantAndTrue('mxchange_installing')) && (!isset($_GET['installing'])) && (empty($MySQL['password'])) && (isBooleanConstantAndTrue('warn_no_pass'))) {
// No database password entered!!!
- echo "<STRONG>".LANG_WARNING.":</STRONG> ".WARN_NULL_PASSWORD;
+ echo "<div>".LANG_WARNING.":</div> ".WARN_NULL_PASSWORD;
}
// Set dummy $_CONFIG array