]> git.mxchange.org Git - mailer.git/blobdiff - inc/js/js-uberwach.php
Comments fixed, ext-network continued, fix for mod stats:
[mailer.git] / inc / js / js-uberwach.php
index d3683b7c6fcdc08b144e845c3ba23a28b2269b79..b3709da956b9932b20b5d931c473d450d6dbe720 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 07/31/2009 *
- * ===============                              Last change: 07/31/2009 *
+ * Mailer v0.2.1-FINAL                                Start: 07/31/2009 *
+ * ===================                          Last change: 10/20/2009 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : js-uberwach.php                                  *
@@ -17,7 +17,7 @@
  * Needs to be in all Files and every File needs "svn propset           *
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
- * Copyright (c) 2003 - 2008 by Roland Haeder                           *
+ * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * 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')) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
-       require($INC);
-} // END - if
+       die();
+} elseif (!isExtensionActive('uberwach')) {
+       return;
+}
 
 // Simply load the JavaScript here
-LOAD_TEMPLATE('js_uberwach');
+loadTemplate('js_uberwach');
 
+// [EOF]
 ?>