Changeset 2295

Show
Ignore:
Timestamp:
09/11/07 10:18:20 (6 years ago)
Author:
kop-labs
Message:

Add logout

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • website/lib/views/admin/LogoutForm.class.php

    r2294 r2295  
    1818         
    1919        $this->mergeField('title', 'ADMIN - UMIT :: Login'); 
    20         header("Location: ?active=login"); 
     20 
    2121        $this->_preProcess(); 
    2222        $auth = new Authenticator; 
     
    2525 
    2626        $this->loadTemplate("../../admin/templates/$tname/template_login"); 
     27         
    2728        parent::processRequest(); 
    2829 
     
    3031 
    3132    } 
     33    function doGet() 
     34    { 
     35        header("Location: ?active=login"); 
     36    } 
    3237 
    3338}