X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmysql-connect.php;h=9cd96c8fa492f27b5bdde675b4488abe42986120;hb=a1ef1533f17e1ca5db81a9912632491e72626694;hp=20f4233310d567c28386d0cce369264da24c1bf6;hpb=600c7b3eff91903e1c7e8281b631188927cbd853;p=mailer.git diff --git a/inc/mysql-connect.php b/inc/mysql-connect.php index 20f4233310..9cd96c8fa4 100644 --- a/inc/mysql-connect.php +++ b/inc/mysql-connect.php @@ -40,6 +40,10 @@ if (ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) { // CFG: DEBUG-SQL (if enabled and DEBUG_MODE is enabled all SQL queries will be logged to debug.log) define('DEBUG_SQL', false); +// Default is not a frameset +global $isFrameset; +$isFrameset = false; + // Load library require_once(PATH."inc/db/lib.php"); @@ -113,7 +117,7 @@ LIMIT 1", __FILE__, __LINE__); // Run daily reset if ((date("d", $_CONFIG['last_update']) != date("d", time()) || ((isBooleanConstantAndTrue('DEBUG_MODE')))) && (!isBooleanConstantAndTrue('mxchange_installing')) && (isBooleanConstantAndTrue('mxchange_installed')) && (isBooleanConstantAndTrue('admin_registered')) && (!isset($_GET['register'])) && ($CSS != 1)) { // Do daily things in external PHP file but only when script is completely setup - $INC_POOL[] = PATH."inc/reset/reset_daily.php"; + $INC_POOL[] = sprintf("%sinc/reset/reset_daily.php", PATH); // Daily reset was run! define('__DAILY_RESET', "1");