/usr/share/phppgadmin/logout.php is in phppgadmin 5.0.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | <?php
/**
* Logs a user out of the app
*
* $Id: logout.php,v 1.3 2003/09/10 01:55:52 chriskl Exp $
*/
if (!ini_get('session.auto_start')) {
session_name('PPA_ID');
session_start();
}
unset($_SESSION);
session_destroy();
header('Location: index.php');
?>
|