595848f9 |
1 | <?php |
2 | |
3 | /** |
4 | * This shows system specification details. |
5 | * |
9eb3fcb3 |
6 | * Copyright (c) 1999-2005 The SquirrelMail Project Team |
595848f9 |
7 | * Licensed under the GNU GPL. For full terms see the file COPYING. |
8 | * |
598294a7 |
9 | * This is a standard SquirrelMail 1.2 API for plugins. |
595848f9 |
10 | * |
3b43404b |
11 | * @version $Id$ |
12 | * @package plugins |
13 | * @subpackage bug_report |
595848f9 |
14 | */ |
15 | |
3b43404b |
16 | /** |
17 | * @ignore |
18 | */ |
595848f9 |
19 | define('SM_PATH','../../'); |
20 | include_once(SM_PATH . 'include/validate.php'); |
21 | |
e1df9174 |
22 | /** is bug_report plugin disabled */ |
23 | if (! is_plugin_enabled('bug_report')) { |
24 | error_box(_("Plugin is disabled."),$color); |
25 | echo "\n</body></html>\n"; |
26 | exit(); |
27 | } |
595848f9 |
28 | ?> |
38b88e48 |
29 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
595848f9 |
30 | <html> |
31 | <body> |
32 | <pre> |
595848f9 |
33 | <?php |
34 | |
35 | include_once(SM_PATH . 'plugins/bug_report/system_specs.php'); |
36 | global $body; |
37 | echo $body; |
38 | |
39 | ?> |
40 | </pre> |
41 | </body> |
91e0dccc |
42 | </html> |