diff options
author | neoraider <devnull@localhost> | 2006-09-19 14:23:02 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2006-09-19 14:23:02 +0200 |
commit | 83fe4d9da1edd100ff3035c74df4e08446885178 (patch) | |
tree | 82fb2d048194152f1de44fd84622ff184e18dadb | |
parent | ebf846c0a4c5d415b1e461ddbf8c5bdbb297d4e2 (diff) | |
download | neon-83fe4d9da1edd100ff3035c74df4e08446885178.tar neon-83fe4d9da1edd100ff3035c74df4e08446885178.zip |
Uses() in der Login-Seite an den Anfang gesetzt.
-rw-r--r-- | pages/content/Login.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/content/Login.xml b/pages/content/Login.xml index 6bbaf7c..4e21b3f 100644 --- a/pages/content/Login.xml +++ b/pages/content/Login.xml @@ -10,9 +10,9 @@ <code> <![CDATA[ <?PHP + Uses('user', 'links', 'message', 'util'); + if($_POST['name'] && $_POST['password'] && $_POST['page']) { - Uses('user', 'links', 'message', 'util'); - if($GLOBALS['user']->Login(Unquote($_POST['name']), Unquote($_POST['password']))) { header('Location: ' . $GLOBALS['links']->GetNeonLink($_POST['page'], null, false)); exit(); |