From: Roland Häder Date: Mon, 6 Oct 2008 23:24:59 +0000 (+0000) Subject: Debug lines added X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7de68b88ef3f441444f393b980d94641061c2db6;p=mailer.git Debug lines added --- diff --git a/inc/databases.php b/inc/databases.php index 1ec95e0dfc..b7724243b1 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -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); diff --git a/inc/monthly/monthly_beg.php b/inc/monthly/monthly_beg.php index 3680e6d904..2a78b37a0d 100644 --- a/inc/monthly/monthly_beg.php +++ b/inc/monthly/monthly_beg.php @@ -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__)."
\n"; // Get current month (2 digits) $curr = date("m", time()); diff --git a/inc/monthly/monthly_bonus.php b/inc/monthly/monthly_bonus.php index a7c002584b..2b18fb308d 100644 --- a/inc/monthly/monthly_bonus.php +++ b/inc/monthly/monthly_bonus.php @@ -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__)."
\n"; // Get current month (2 digits) $curr = date("m", time()); diff --git a/inc/monthly/monthly_newsletter.php b/inc/monthly/monthly_newsletter.php index 776c99bd7f..8248a29f61 100644 --- a/inc/monthly/monthly_newsletter.php +++ b/inc/monthly/monthly_newsletter.php @@ -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__)."
\n"; // Get current month (2 digits) $curr = date("m", time()); diff --git a/inc/monthly/monthly_surfbar.php b/inc/monthly/monthly_surfbar.php index 35de46718f..6584443439 100644 --- a/inc/monthly/monthly_surfbar.php +++ b/inc/monthly/monthly_surfbar.php @@ -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__)."
\n"; // Reset surfbar counter UPDATE_CONFIG("surfbar_monthly_counter", "0"); diff --git a/inc/reset/reset_beg.php b/inc/reset/reset_beg.php index 66be41d664..05830e1f29 100644 --- a/inc/reset/reset_beg.php +++ b/inc/reset/reset_beg.php @@ -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__)."
\n"; // Reset accounts $result = SQL_QUERY("UPDATE "._MYSQL_PREFIX."_user_data SET beg_points=0.00000 WHERE beg_points > 0", diff --git a/inc/reset/reset_bonus.php b/inc/reset/reset_bonus.php index 60e8003002..cefffd4f3f 100644 --- a/inc/reset/reset_bonus.php +++ b/inc/reset/reset_bonus.php @@ -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__)."
\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", diff --git a/inc/reset/reset_daily.php b/inc/reset/reset_daily.php index 59df1fb8ce..c8e9f245c6 100644 --- a/inc/reset/reset_daily.php +++ b/inc/reset/reset_daily.php @@ -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__)."
\n"; + // Update user profiles if (GET_EXT_VERSION("order") >= "0.1.1") { // Latest version diff --git a/inc/reset/reset_engine.php b/inc/reset/reset_engine.php index 9643621a01..fa5248df19 100644 --- a/inc/reset/reset_engine.php +++ b/inc/reset/reset_engine.php @@ -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__)."
\n"; // ?> diff --git a/inc/reset/reset_holiday.php b/inc/reset/reset_holiday.php index 8545a247a0..5ffe79870a 100644 --- a/inc/reset/reset_holiday.php +++ b/inc/reset/reset_holiday.php @@ -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__)."
\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 diff --git a/inc/reset/reset_surfbar.php b/inc/reset/reset_surfbar.php index 11408d71bc..2d216c6dac 100644 --- a/inc/reset/reset_surfbar.php +++ b/inc/reset/reset_surfbar.php @@ -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__)."
\n"; // Reset surfbar counter UPDATE_CONFIG(array("surfbar_daily_counter", "surfbar_yester_counter"), array(0, $_CONFIG['surfbar_daily_counter'])); diff --git a/inc/weekly/weekly_surfbar.php b/inc/weekly/weekly_surfbar.php index b2a160abb4..7ff1ff3659 100644 --- a/inc/weekly/weekly_surfbar.php +++ b/inc/weekly/weekly_surfbar.php @@ -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__)."
\n"; // Reset the surfbar counter UPDATE_CONFIG("surfbar_weekly_counter", "0");