copyright update
[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<html>
32<body>
33<pre>
34<?php
35
36include_once(SM_PATH . 'plugins/bug_report/system_specs.php');
37global $body;
38echo $body;
39
40?>
41</pre>
42</body>
43</html>