]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-admin.php
More rewrites from double- to single-quote
[mailer.git] / inc / modules / guest / what-admin.php
index 44d43a8b433f9b8c0c2416ed6e5bf137f921edd1..125a7531464e5a1611e97c755d0e8bdf034a31e7 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Zum Administrationsbereich                       *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * 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                           *
  * For more information visit: http://www.mxchange.org                  *
  ************************************************************************/
 
 // Some security stuff...
-if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
-{
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+if (!defined('__SECURITY')) {
+       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
        require($INC);
 }
 
-// Redirect...
-LOAD_URL (URL."/modules.php?module=admin&action=login");
+// A simple redirect...
+LOAD_URL('modules.php?module=admin');
 
 //
 ?>