xcat-core/xCAT-web/lib/logout.php
2008-10-23 17:54:02 +00:00

29 lines
657 B
PHP

<?php
// Allow the user to log out and log back in
$TOPDIR = '..';
require_once "$TOPDIR/lib/functions.php";
logout();
insertHeader('Logout/Login', NULL, NULL, array('logout','logout'));
/*
dumpGlobals();
$xml = docmd("authcheck","",NULL);
echo "<p>authcheck:<br>\n";
foreach ($xml->children() as $response) foreach ($response->children() as $t) { echo (string) $t, "<br>\n"; }
echo "</p>\n";
$xml = docmd('tabdump','',NULL);
echo "<p>tabdump:<br>\n";
foreach ($xml->children() as $response) foreach ($response->children() as $t) { echo (string) $t, "<br>\n"; }
echo "</p>\n";
*/
//insertNotDoneYet();
insertFooter();
?>