<?php
/************************************************************************
- * MXChange v0.2.1 Start: 10/27/2009 *
- * =============== Last change: 10/27/2009 *
+ * Mailer v0.2.1-FINAL Start: 10/27/2009 *
+ * =================== Last change: 06/20/2010 *
* *
* -------------------------------------------------------------------- *
* File : reset_autopurge.php *
* -------------------------------------------------------------------- *
* Kurzbeschreibung : Auto-Loeschung von veralteten Mail-Links *
* -------------------------------------------------------------------- *
- * $Revision:: 1004 $ *
- * $Date:: 2009-04-03 09:32:14 +0000 (Fri, 03 Apr 2009) $ *
+ * $Revision:: $ *
+ * $Date:: $ *
* $Tag:: 0.2.1-FINAL $ *
- * $Author:: quix0r $ *
+ * $Author:: $ *
* Needs to be in all Files and every File needs "svn propset *
* svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
// Some security stuff...
if (!defined('__SECURITY')) {
die();
+} elseif ((getOutputMode() != 0) || (!isResetModeEnabled())) {
+ // Do not execute when script is in CSS mode or no daily reset
+ return;
} elseif (!isExtensionActive('autopurge')) {
+ logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension disabled.');
return;
}
-// Do not execute when script is in CSS mode or no daily reset
-if ((getOutputMode() != 0) || (!isResetModeEnabled())) return;
-
// Init & set the include pool
initIncludePool('autopurge');
setIncludePool('autopurge', getArrayFromDirectory('inc/autopurge/', 'purge-'));