disable regexp compilation error
[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?>
38b88e48 30<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
595848f9 31<html>
32<body>
33<pre>
595848f9 34<?php
35
36include_once(SM_PATH . 'plugins/bug_report/system_specs.php');
37global $body;
38echo $body;
39
40?>
41</pre>
42</body>
91e0dccc 43</html>