xcat-core/xCAT-web/lib/phpinfo.php
bp-sawyers b0fb4b4bb4 - fixed noderange widget in web ui
- fixed problem with save of db tables

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3070 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-02 17:08:12 +00:00

32 lines
1011 B
PHP

<?php
//setcookie("history", "", time() - 3600); //to delete a cookie, but did not seem to work
$TOPDIR = '..';
require_once "../lib/functions.php";
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">';
echo "<html><head>\n";
echo "<link href='../lib/style.css' rel=stylesheet type='text/css'>\n";
echo "</head><body>\n";
//insertLogin();
dumpGlobals();
echo '<p>'; print_r($_SESSION['editable-hosts']); echo "</p>\n";
//foreach ($_SESSION['editable-deps'] as $key => $val) { trace("$key=$val."); }
/*
$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";
*/
phpinfo();
echo "</body></html>\n";
?>