show_system_specs.php 947 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. /**
  3. * This script shows system specification details.
  4. *
  5. * @copyright &copy; 1999-2007 The SquirrelMail Project Team
  6. * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  7. * @version $Id$
  8. * @package plugins
  9. * @subpackage bug_report
  10. */
  11. /**
  12. * Include the SquirrelMail initialization file.
  13. */
  14. require('../../include/init.php');
  15. /** load plugin functions */
  16. include_once(SM_PATH.'plugins/bug_report/functions.php');
  17. /** is bug_report plugin disabled or called by wrong user */
  18. if (! is_plugin_enabled('bug_report') || ! bug_report_check_user()) {
  19. error_box(_("Plugin is disabled."));
  20. $oTemplate->display('footer.tpl');
  21. exit();
  22. }
  23. ?>
  24. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  25. "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
  26. <html>
  27. <body>
  28. <pre>
  29. <?php
  30. include_once(SM_PATH . 'plugins/bug_report/system_specs.php');
  31. global $body;
  32. echo $body;
  33. ?>
  34. </pre>
  35. </body>
  36. </html>