Centralized init
[squirrelmail.git] / plugins / bug_report / show_system_specs.php
index 20b9bbe5bddcc39696ef4964e9f8e28c2c4debd1..6d79a4fdd68f1d44025a071c238047f770ecc8f8 100644 (file)
  */
 
 /**
- * @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');