]> git.mxchange.org Git - mailer.git/blobdiff - inc/mysql-connect.php
Tons of rewrites (SQL queries), surfbar nearly finished (working: surfing with static...
[mailer.git] / inc / mysql-connect.php
index 20f4233310d567c28386d0cce369264da24c1bf6..9cd96c8fa492f27b5bdde675b4488abe42986120 100644 (file)
@@ -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");