]> git.mxchange.org Git - mailer.git/blobdiff - inc/mails/_mails.php
mailer project continued:
[mailer.git] / inc / mails / _mails.php
index b352e33a87700d3661760404c3c716f57b7ba5fb..6f5316c876ac7a35e317209b4cbc68e7417de1f1 100644 (file)
@@ -16,8 +16,8 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
 if (!defined('__SECURITY')) {
        die();
 } elseif (!isExtensionActive('')) {
+       // Do not execute script on missing/out-dated extension ext-
+       return;
+} elseif (!isHtmlOutputMode()) {
+       // Do not execute script if not in HTML mode
        return;
 }
 
-// Do not execute when script is in CSS mode
-if (!isHtmlOutputMode()) return;
-
 // [EOF]
 ?>