projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use compatibility_info() function if at all possible instead of compatibility_version()
[squirrelmail.git]
/
plugins
/
bug_report
/
show_system_specs.php
diff --git
a/plugins/bug_report/show_system_specs.php
b/plugins/bug_report/show_system_specs.php
index 0e4f9d1f1b4dfa6badd2d019f2c1cf69e13eb32e..07ceb50c62724d91a5d402ffd79e6473735b796d 100644
(file)
--- a/
plugins/bug_report/show_system_specs.php
+++ b/
plugins/bug_report/show_system_specs.php
@@
-2,7
+2,7
@@
/**
* This script shows system specification details.
*
/**
* This script shows system specification details.
*
- * @copyright © 1999-200
5
The SquirrelMail Project Team
+ * @copyright © 1999-200
7
The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package plugins
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package plugins
@@
-10,24
+10,22
@@
*/
/**
*/
/**
- *
@ignore
+ *
Include the SquirrelMail initialization file.
*/
*/
-define('SM_PATH','../../');
-/** load system functions */
-include_once(SM_PATH . 'include/validate.php');
-/** load error_box() function */
-include_once(SM_PATH . 'functions/display_messages.php');
+require('../../include/init.php');
+
/** load plugin functions */
include_once(SM_PATH.'plugins/bug_report/functions.php');
/** is bug_report plugin disabled or called by wrong user */
if (! is_plugin_enabled('bug_report') || ! bug_report_check_user()) {
/** load plugin functions */
include_once(SM_PATH.'plugins/bug_report/functions.php');
/** is bug_report plugin disabled or called by wrong user */
if (! is_plugin_enabled('bug_report') || ! bug_report_check_user()) {
- error_box(_("Plugin is disabled.")
,$color
);
-
echo "\n</body></html>\n"
;
+ error_box(_("Plugin is disabled."));
+
$oTemplate->display('footer.tpl')
;
exit();
}
?>
exit();
}
?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<body>
<pre>
<html>
<body>
<pre>