handle DB.php load errors inside preference class and don't worry about
[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/**
202bcbcc 13 * Include the SquirrelMail initialization file.
3b43404b 14 */
202bcbcc 15require('../../include/init.php');
16
2329d86d 17/** load plugin functions */
18include_once(SM_PATH.'plugins/bug_report/functions.php');
595848f9 19
2329d86d 20/** is bug_report plugin disabled or called by wrong user */
21if (! is_plugin_enabled('bug_report') || ! bug_report_check_user()) {
e1df9174 22 error_box(_("Plugin is disabled."),$color);
23 echo "\n</body></html>\n";
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
34include_once(SM_PATH . 'plugins/bug_report/system_specs.php');
35global $body;
36echo $body;
37
38?>
39</pre>
40</body>
91e0dccc 41</html>