Source for file show_system_specs.php

Documentation is available at show_system_specs.php

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

Documentation generated on Sat, 07 Oct 2006 16:13:34 +0300 by phpDocumentor 1.3.0RC6