X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Ffunctions.php;h=318af2c2262240efe73ee8b02eeda1682c680d58;hp=5abc31bab29689eea015ce8295ab5677d53a2c1d;hb=e6e3183f794b385f5acc38b371c220cc35cdac38;hpb=ae51687a0bf708aeca3d68263320804ae0dd42ef
diff --git a/inc/functions.php b/inc/functions.php
index 5abc31bab2..318af2c226 100644
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -321,7 +321,7 @@ function LOAD_TEMPLATE($template, $return=false, $content="") {
// Add surrounding HTML comments to help finding bugs faster
$ret = "\n".$ret."\n";
- } elseif ((IS_ADMIN()) || ((isBooleanConstantAndTrue('mxchange_installing')) && (!isBooleanConstantAndTrue('mxchange_installed')))) {
+ } elseif ((IS_ADMIN()) || ((isBooleanConstantAndTrue('mxchange_installing')) && (!defined('mxchange_installed')))) {
// Only admins shall see this warning or when installation mode is active
$ret = "
".TEMPLATE_404."
(".basename($file).")
@@ -2353,7 +2353,7 @@ function RESET_ADD_INCLUDES () {
global $_CONFIG;
// Is the reset set or old sql_patches?
- if ((!isBooleanConstantAndTrue('__DAILY_RESET')) || (EXT_VERSION_IS_OLDER("sql_patches", "0.4.5"))) {
+ if ((!defined('__DAILY_RESET')) || (EXT_VERSION_IS_OLDER("sql_patches", "0.4.5"))) {
// Then abort here
return array();
} // END - if