]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/chk_login.php
Updated copyright notice as there are changes in this year
[mailer.git] / inc / modules / chk_login.php
index 3a8ea208385d2fb9c18b82c3b85e5d421b42a1ce..97725a4d8783c2765f0cc507cbbbfbe1a9d873e6 100644 (file)
@@ -16,8 +16,8 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2009 - 2013 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 *
@@ -37,7 +37,7 @@
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       die();
+       exit();
 } // END - if
 
 // Initial message part
@@ -49,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]
 ?>