Debug lines added
authorRoland Häder <roland@mxchange.org>
Mon, 6 Oct 2008 23:24:59 +0000 (23:24 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 6 Oct 2008 23:24:59 +0000 (23:24 +0000)
12 files changed:
inc/databases.php
inc/monthly/monthly_beg.php
inc/monthly/monthly_bonus.php
inc/monthly/monthly_newsletter.php
inc/monthly/monthly_surfbar.php
inc/reset/reset_beg.php
inc/reset/reset_bonus.php
inc/reset/reset_daily.php
inc/reset/reset_engine.php
inc/reset/reset_holiday.php
inc/reset/reset_surfbar.php
inc/weekly/weekly_surfbar.php

index 1ec95e0dfc7d304831d9a9399386151de1730eaa..b7724243b16b8797f4c1770aa148d2a1a2e65d34 100644 (file)
@@ -113,7 +113,7 @@ define('USAGE_BASE', "usage");
 define('SERVER_URL', "http://www.mxchange.org");
 
 // This current patch level
-define('CURR_SVN_REVISION', "468");
+define('CURR_SVN_REVISION', "469");
 
 // Take a prime number which is long (if you know a longer one please try it out!)
 define('_PRIME', 591623);
index 3680e6d904b08924135602698d226da6412499f3..2a78b37a0df87c4d0295626ecde4b900cc0ef4f1 100644 (file)
@@ -41,6 +41,7 @@ if (!defined('__SECURITY')) {
 
 // Do not execute when script is in CSS mode or no daily reset
 if (($CSS == 1) || (!defined('__DAILY_RESET')) || ($_CONFIG['beg_rallye'] == "N")) return;
+//* DEBUG: */ echo basename(__FILE__)."<br />\n";
 
 // Get current month (2 digits)
 $curr = date("m", time());
index a7c002584bd1d0921c9f2bd34cf7898766043fd8..2b18fb308db7ce2fff6269027a4b52dd15becf39 100644 (file)
@@ -41,6 +41,7 @@ if (!defined('__SECURITY')) {
 
 // Do not execute when script is in CSS mode or no daily reset
 if (($CSS == 1) || (!defined('__DAILY_RESET'))) return;
+//* DEBUG: */ echo basename(__FILE__)."<br />\n";
 
 // Get current month (2 digits)
 $curr = date("m", time());
index 776c99bd7f316d66181e95ffdcc1c3a813306864..8248a29f6126f5dab1d9df300334dad331dc4280 100644 (file)
@@ -41,6 +41,7 @@ if (!defined('__SECURITY')) {
 
 // Do not execute when script is in CSS mode or no daily reset
 if (($CSS == 1) || (!defined('__DAILY_RESET'))) return;
+//* DEBUG: */ echo basename(__FILE__)."<br />\n";
 
 // Get current month (2 digits)
 $curr = date("m", time());
index 35de46718f5b33598e28467369bf898c3fd53cf9..658444343921586f76d1703da3de1ad678814ae8 100644 (file)
@@ -41,6 +41,7 @@ if (!defined('__SECURITY')) {
 
 // Do not execute when script is in CSS mode or no daily reset
 if (($CSS == 1) || (!defined('__DAILY_RESET'))) return;
+//* DEBUG: */ echo basename(__FILE__)."<br />\n";
 
 // Reset surfbar counter
 UPDATE_CONFIG("surfbar_monthly_counter", "0");
index 66be41d6645d786a9e4963129773342ad446c3cd..05830e1f29efc9b18472b632b845bf3ab8b3b63c 100644 (file)
@@ -41,6 +41,7 @@ if (!defined('__SECURITY')) {
 
 // Do not execute when script is in CSS mode or no daily reset
 if (($CSS == 1) || (!defined('__DAILY_RESET')) || ($_CONFIG['beg_rallye'] == "Y")) return;
+//* DEBUG: */ echo basename(__FILE__)."<br />\n";
 
 // Reset accounts
 $result = SQL_QUERY("UPDATE "._MYSQL_PREFIX."_user_data SET beg_points=0.00000 WHERE beg_points > 0",
index 60e8003002e98c98ad61e1d9435b5820784c514e..cefffd4f3f1053904668b99b82d6fbef1e5bda4c 100644 (file)
@@ -41,6 +41,7 @@ if (!defined('__SECURITY')) {
 
 // Do not execute when script is in CSS mode or no daily reset
 if (($CSS == 1) || (!defined('__DAILY_RESET'))) return;
+//* DEBUG: */ echo basename(__FILE__)."<br />\n";
 
 // Reset accounts
 $result = SQL_QUERY("UPDATE "._MYSQL_PREFIX."_user_data SET turbo_bonus=0, login_bonus=0, bonus_order=0, bonus_stats=0, bonus_ref=0",
index 59df1fb8ced23b2753b0e69484cd23d7d669829a..c8e9f245c674728cbddb740784c3a7c74f419b25 100644 (file)
@@ -39,6 +39,10 @@ if (!defined('__SECURITY')) {
        return;
 }
 
+// Do not execute when script is in CSS mode or no daily reset
+if (($CSS == 1) || (!defined('__DAILY_RESET'))) return;
+//* DEBUG: */ echo basename(__FILE__)."<br />\n";
+
 // Update user profiles
 if (GET_EXT_VERSION("order") >= "0.1.1") {
        // Latest version
index 9643621a016444edf57f03caba4187ace7560367..fa5248df197119fc0f1efd08edc063618aa27def 100644 (file)
@@ -41,6 +41,7 @@ if (!defined('__SECURITY')) {
 
 // Do not execute when script is in CSS mode or no daily reset
 if (($CSS == 1) || (!defined('__DAILY_RESET'))) return;
+//* DEBUG: */ echo basename(__FILE__)."<br />\n";
 
 //
 ?>
index 8545a247a097dcc4c2b92dbe473593459c108113..5ffe79870ab4fe75998c6cc81f6ba69b5785fa29 100644 (file)
@@ -40,7 +40,8 @@ if (!defined('__SECURITY')) {
 }
 
 // Do not execute when script is in CSS mode or no daily reset
-if (($CSS == 1) || (GET_EXT_VERSION("holiday") == "") || ((!defined('__DAILY_RESET')) && ($_CONFIG['holiday_mode'] == "RESET"))) return;
+if (($CSS == 1) || ((!defined('__DAILY_RESET')) && ($_CONFIG['holiday_mode'] == "RESET"))) return;
+//* DEBUG: */ echo basename(__FILE__)."<br />\n";
 
 // Check for holidays we need to enable and send email to user
 $result_main = SQL_QUERY("SELECT userid, holiday_activated FROM "._MYSQL_PREFIX."_user_data
index 11408d71bcd92853dd13f6743cdebaa7fe0d7a2a..2d216c6dac22fd35d33b626d31c2fdbbd0cc33ff 100644 (file)
@@ -41,6 +41,7 @@ if (!defined('__SECURITY')) {
 
 // Do not execute when script is in CSS mode or no daily reset
 if (($CSS == 1) || (!defined('__DAILY_RESET'))) return;
+//* DEBUG: */ echo basename(__FILE__)."<br />\n";
 
 // Reset surfbar counter
 UPDATE_CONFIG(array("surfbar_daily_counter", "surfbar_yester_counter"), array(0, $_CONFIG['surfbar_daily_counter']));
index b2a160abb49f4b7bae2632fefd132b652330756d..7ff1ff36593f8260ec67dfca9ccda89527f2a857 100644 (file)
@@ -41,6 +41,7 @@ if (!defined('__SECURITY')) {
 
 // Do not execute when script is in CSS mode or no daily reset
 if (($CSS == 1) || (!defined('__DAILY_RESET'))) return;
+//* DEBUG: */ echo basename(__FILE__)."<br />\n";
 
 // Reset the surfbar counter
 UPDATE_CONFIG("surfbar_weekly_counter", "0");