login.php: require sessions.php only once

This commit is contained in:
Andrew Dolgov 2006-03-04 12:03:17 +01:00
parent 5ccc1cf5d7
commit 8c453eac3e
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
session_set_cookie_params(SESSION_COOKIE_LIFETIME); session_set_cookie_params(SESSION_COOKIE_LIFETIME);
} }
require "sessions.php"; require_once "sessions.php";
if (authenticate_user($link, $login, $password)) { if (authenticate_user($link, $login, $password)) {
initialize_user_prefs($link, $_SESSION["uid"]); initialize_user_prefs($link, $_SESSION["uid"]);