]> git.wh0rd.org Git - tt-rss.git/commitdiff
login.php: require sessions.php only once
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 4 Mar 2006 11:03:17 +0000 (12:03 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 4 Mar 2006 11:03:17 +0000 (12:03 +0100)
login.php

index 40cee399bd23d2e8210da1fa789371dceea1ae29..59340d21d7a3e64536ee6920ac5f68c67afac574 100644 (file)
--- a/login.php
+++ b/login.php
@@ -27,7 +27,7 @@
                        session_set_cookie_params(SESSION_COOKIE_LIFETIME);
                }
                        
-               require "sessions.php";
+               require_once "sessions.php";
 
                if (authenticate_user($link, $login, $password)) {
                        initialize_user_prefs($link, $_SESSION["uid"]);