Commit 77d93c49 authored by Loui Chang's avatar Loui Chang
Browse files

Move call to try_login to login_form.



Signed-off-by: default avatarLoui Chang <louipc.ist@gmail.com>
parent 96c332cc
......@@ -343,9 +343,6 @@ function html_header($title="") {
global $LANG;
global $SUPPORTED_LANGS;
$login = try_login();
$login_error = $login['error'];
$title = htmlspecialchars($title, ENT_QUOTES);
include('header.php');
......
<?php
include_once('acctfuncs.inc');
$login = try_login();
$login_error = $login['error'];
?>
<span id="login_bar">
<?php
if (isset($_COOKIE["AURSID"])) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment