// Output message to user and die
if (EXT_IS_ACTIVE("debug")) {
// Debug extension found! :-)
// Output message to user and die
if (EXT_IS_ACTIVE("debug")) {
// Debug extension found! :-)
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
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
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.");
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
// 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
if (isBooleanConstantAndTrue('mxchange_installed')) {
// You have changed my configuration file!
die(DIE_CONFIG_CHANGED_YOU);
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!!!
}
} elseif ((!isBooleanConstantAndTrue('mxchange_installing')) && (!isset($_GET['installing'])) && (empty($MySQL['password'])) && (isBooleanConstantAndTrue('warn_no_pass'))) {
// No database password entered!!!