]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-sponsor.php
Several rewrites/fixes which I have done yesterday but not commited, mxchange_die...
[mailer.git] / inc / modules / member / what-sponsor.php
index 059429d87f07d29fd10df565797cd0ee2a567536..942f1c79773fc1532b1a7d8b98a43cb0d30fa2e5 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Unsere Sponsoren vorstellen                      *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $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                  *
@@ -35,9 +40,9 @@ if (!defined('__SECURITY')) {
        $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";
        require($INC);
 } elseif (!IS_MEMBER()) {
-       LOAD_URL(URL."/modules.php?module=index");
-} elseif (!EXT_IS_ACTIVE("sponsor")) {
-       ADD_FATAL(EXTENSION_PROBLEM_EXT_INACTIVE, "sponsor");
+       LOAD_URL("modules.php?module=index");
+} elseif ((!EXT_IS_ACTIVE("sponsor")) && (!IS_ADMIN())) {
+       addFatalMessage(__FILE__, __LINE__, getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), "sponsor");
        return;
 }