2 // phpinfo.php - shows phpinfo for the current server
4 require_once("../config.php");
9 error("Only the admin can use this page");
12 if (isset($topframe)) {
13 $stradministration = get_string("administration");
16 print_header("$site->shortname: phpinfo", "$site->fullname",
17 "<a target=\"$CFG->framename\" href=\"index.php\">$stradministration</a> -> PHP info");
21 if (isset($bottomframe)) {
28 <title
>PHP info
</title
>
31 <frameset rows
="80,*">
32 <frame src
="phpinfo.php?topframe=true">
33 <frame src
="phpinfo.php?bottomframe=true">