]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/chk_login.php
Temporary configuration 'RAND_NUMBER' is now 'cached' in session variable, possibly...
[mailer.git] / inc / modules / chk_login.php
index ad4bc4c97d0c055e5bb8142901e289cb0a9d1576..9091319455b8729c784716585af7547b469332cc 100644 (file)
  * $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 - 2009 by Roland Haeder                           *
- * For more information visit: http://www.mxchange.org                  *
+ * 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 *
  * it under the terms of the GNU General Public License as published by *
@@ -38,7 +37,7 @@
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       die();
+       exit();
 } // END - if
 
 // Initial message part
@@ -50,14 +49,14 @@ if (isMember()) {
        runFilterChain('member_login_check');
 
        // Redirect to member area
-       $GLOBALS['message'] .= loadTemplate('member_login_js', true);
+       $GLOBALS['message'] .= loadTemplate('member_login_js', TRUE);
 } else {
        // Login failed!
-       $GLOBALS['message'] .= loadTemplate('login_failed_js', true);
+       $GLOBALS['message'] .= loadTemplate('login_failed_js', TRUE);
 }
 
 // Output final message
-loadTemplate('admin_settings_saved', false, $GLOBALS['message']);
+displayMessage($GLOBALS['message']);
 
 // [EOF]
 ?>