]> git.mxchange.org Git - mailer.git/blobdiff - inc/js/js-uberwach.php
Entities in JavaScript => failed, fixed... login fixed by removing status=GUEST
[mailer.git] / inc / js / js-uberwach.php
index d3683b7c6fcdc08b144e845c3ba23a28b2269b79..e85f11e28464f61e5c590686e3b36cdd77507cb7 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
  * MXChange v0.2.1                                    Start: 07/31/2009 *
- * ===============                              Last change: 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]
 ?>