From: martinahansen Date: Tue, 15 Dec 2009 08:07:20 +0000 (+0000) Subject: fixex index.cgi X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=9b767a39d8f1ebed19fdd0e896a30fe058ec88e1;p=biopieces.git fixex index.cgi git-svn-id: http://biopieces.googlecode.com/svn/trunk@813 74ccb610-7750-0410-82ae-013aeee3265d --- diff --git a/www/index.cgi b/www/index.cgi index ef3f488..4d833cc 100755 --- a/www/index.cgi +++ b/www/index.cgi @@ -245,25 +245,15 @@ sub cookie_login my ( $session ); -<<<<<<< .mine -======= - $session = Maasha::BGB::Session::session_restore( "$cookie->{ 'SESSION_DIR' }/sessions.txt" ); - ->>>>>>> .r811 if ( $cookie->{ 'USER' } and $cookie->{ 'PASSWORD' } ) { - $session = Maasha::BBrowser::Session::session_restore( "$cookie->{ 'SESSION_DIR' }/sessions.txt" ); + $session = Maasha::BGB::Session::session_restore( "$cookie->{ 'SESSION_DIR' }/sessions.txt" ); if ( exists $session->{ $cookie->{ 'USER' } } and $session->{ $cookie->{ 'USER' } }->{ 'PASSWORD' } eq Digest::MD5::md5_hex( $cookie->{ 'PASSWORD' } ) ) { -<<<<<<< .mine - $session->{ $cookie->{ 'USER' } }->{ 'SESSION_ID' } ||= Maasha::BBrowser::Session::session_new(); + $session->{ $cookie->{ 'USER' } }->{ 'SESSION_ID' } ||= Maasha::BGB::Session::session_new(); # $session->{ $cookie->{ 'USER' } }->{ 'SESSION_ID' } = $ENV{ 'SSL_SESSION_ID' }; -======= - # $session->{ $cookie->{ 'USER' } }->{ 'SESSION_ID' } ||= Maasha::BGB::Session::session_new(); - $session->{ $cookie->{ 'USER' } }->{ 'SESSION_ID' } = $ENV{ 'SSL_SESSION_ID' }; ->>>>>>> .r811 $session->{ $cookie->{ 'USER' } }->{ 'TIME' } = Maasha::Common::time_stamp(); $cookie->{ 'SESSION_ID' } = $session->{ $cookie->{ 'USER' } }->{ 'SESSION_ID' };