595848f9 |
1 | <?php |
595848f9 |
2 | /** |
2329d86d |
3 | * This script shows system specification details. |
595848f9 |
4 | * |
4b5049de |
5 | * @copyright © 1999-2007 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 | /** |
202bcbcc |
13 | * Include the SquirrelMail initialization file. |
3b43404b |
14 | */ |
202bcbcc |
15 | require('../../include/init.php'); |
16 | |
2329d86d |
17 | /** load plugin functions */ |
18 | include_once(SM_PATH.'plugins/bug_report/functions.php'); |
595848f9 |
19 | |
2329d86d |
20 | /** is bug_report plugin disabled or called by wrong user */ |
21 | if (! is_plugin_enabled('bug_report') || ! bug_report_check_user()) { |
1b858d86 |
22 | error_box(_("Plugin is disabled.")); |
23 | $oTemplate->display('footer.tpl'); |
e1df9174 |
24 | exit(); |
25 | } |
595848f9 |
26 | ?> |
151562a7 |
27 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
28 | "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> |
595848f9 |
29 | <html> |
30 | <body> |
31 | <pre> |
595848f9 |
32 | <?php |
33 | |
34 | include_once(SM_PATH . 'plugins/bug_report/system_specs.php'); |
35 | global $body; |
36 | echo $body; |
37 | |
38 | ?> |
39 | </pre> |
40 | </body> |
91e0dccc |
41 | </html> |