switched doctype to standard compliance mode
[squirrelmail.git] / plugins / bug_report / show_system_specs.php
CommitLineData
595848f9 1<?php
595848f9 2/**
2329d86d 3 * This script shows system specification details.
595848f9 4 *
47ccfad4 5 * @copyright &copy; 1999-2006 The SquirrelMail Project Team
4b4abf93 6 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
3b43404b 7 * @version $Id$
8 * @package plugins
9 * @subpackage bug_report
595848f9 10 */
11
3b43404b 12/**
13 * @ignore
14 */
595848f9 15define('SM_PATH','../../');
2329d86d 16/** load system functions */
595848f9 17include_once(SM_PATH . 'include/validate.php');
2329d86d 18/** load error_box() function */
19include_once(SM_PATH . 'functions/display_messages.php');
20/** load plugin functions */
21include_once(SM_PATH.'plugins/bug_report/functions.php');
595848f9 22
2329d86d 23/** is bug_report plugin disabled or called by wrong user */
24if (! is_plugin_enabled('bug_report') || ! bug_report_check_user()) {
e1df9174 25 error_box(_("Plugin is disabled."),$color);
26 echo "\n</body></html>\n";
27 exit();
28}
595848f9 29?>
151562a7 30<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
31 "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
595848f9 32<html>
33<body>
34<pre>
595848f9 35<?php
36
37include_once(SM_PATH . 'plugins/bug_report/system_specs.php');
38global $body;
39echo $body;
40
41?>
42</pre>
43</body>
91e0dccc 44</html>