]> git.mxchange.org Git - mailer.git/blobdiff - inc/mails/_mails.php
mailer project continued:
[mailer.git] / inc / mails / _mails.php
index 4457a2879f41ea4a2d1622fce02c98c3532f49a9..6f5316c876ac7a35e317209b4cbc68e7417de1f1 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
+ * 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 *
 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]
 ?>