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