<?php
/************************************************************************
* Mailer v0.2.1-FINAL Start: 10/22/2005 *
- * =================== Last change: 10/22/2005 *
+ * =================== Last change: 06/20/2010 *
* *
* -------------------------------------------------------------------- *
* File : monthly_beg.php *
// Some security stuff...
if (!defined('__SECURITY')) {
die();
+} elseif ((getOutputMode() == 1) || (!isResetModeEnabled()) || (getConfig('beg_rallye') != 'Y')) {
+ // Do not execute when script is in CSS mode or no daily reset
+ return;
} elseif (!isExtensionActive('beg')) {
+ logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension disabled.');
return;
}
-// Do not execute when script is in CSS mode or no daily reset
-if ((getOutputMode() == 1) || (!isResetModeEnabled()) || (getConfig('beg_rallye') != 'Y')) return;
-//* DEBUG: */ outputHtml(basename(__FILE__)."<br />");
-
// Get current month (2 digits)
$curr = date('m', time());
SQL_FREERESULT($result_main);
} // END - if
-//
+// [EOF]
?>