Subversion Repositories computer_asset_manager_v2

Rev

Rev 1 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1 Rev 20
Line 1... Line 1...
1
<?php
1
<?php
2
   include_once("header.php");
2
   include_once("header.php");
3
   $_SESSION = array();
-
 
4
   if (ini_get("session.use_cookies")) {
-
 
5
       $params = session_get_cookie_params();
-
 
6
       setcookie(session_name(), '', time() - 42000,
-
 
7
           $params["path"], $params["domain"],
-
 
8
           $params["secure"], $params["httponly"]
3
   $login = $_SESSION[ 'app directories' ]['url system'][ 'app root' ] . "/login.html";
9
       );
-
 
10
   }
-
 
11
   // Finally, destroy the session.
-
 
12
   session_destroy();
4
   killSession();
13
   header('Location:  login.html');
5
   header('Location: ' . $login );
14
?>
6
?>