595848f9 |
1 | <?php |
2 | |
3 | /** |
4 | * This shows system specification details. |
5 | * |
598294a7 |
6 | * This is a standard SquirrelMail 1.2 API for plugins. |
595848f9 |
7 | * |
4b4abf93 |
8 | * @copyright © 1999-2005 The SquirrelMail Project Team |
9 | * @license http://opensource.org/licenses/gpl-license.php GNU Public License |
3b43404b |
10 | * @version $Id$ |
11 | * @package plugins |
12 | * @subpackage bug_report |
595848f9 |
13 | */ |
14 | |
3b43404b |
15 | /** |
16 | * @ignore |
17 | */ |
595848f9 |
18 | define('SM_PATH','../../'); |
19 | include_once(SM_PATH . 'include/validate.php'); |
20 | |
e1df9174 |
21 | /** is bug_report plugin disabled */ |
22 | if (! is_plugin_enabled('bug_report')) { |
23 | error_box(_("Plugin is disabled."),$color); |
24 | echo "\n</body></html>\n"; |
25 | exit(); |
26 | } |
595848f9 |
27 | ?> |
38b88e48 |
28 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
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> |