Split out functionality that gathers system specs
[squirrelmail.git] / plugins / administrator / setup.php
index 45b0c87..df5b342 100644 (file)
@@ -1,18 +1,24 @@
 <?php
-
 /**
- * setup.php
- *
- * Copyright (c) 1999-2002 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
+ * Administrator plugin - Setup script
  *
- *  Administrator plugin. Allows remote administration.  Philippe Mingo
+ * Plugin allows remote administration.
  *
- * $Id$
+ * @version $Id$
+ * @author Philippe Mingo
+ * @copyright (c) 1999-2004 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @package plugins
+ * @subpackage administrator
  */
 
-require_once('../plugins/administrator/auth.php');
+/** @ignore */
+require_once(SM_PATH . 'plugins/administrator/auth.php');
 
+/**
+ * Init the plugin
+ * @access private
+ */
 function squirrelmail_plugin_init_administrator() {
     global $squirrelmail_plugin_hooks, $username;
 
@@ -22,6 +28,10 @@ function squirrelmail_plugin_init_administrator() {
     }
 }
 
+/**
+ * Register option block
+ * @access private
+ */
 function squirrelmail_administrator_optpage_register_block() {
     global $optpage_blocks;
     global $AllowSpamFilters;