enough for today. adding some tags to imap mailbox functions
[squirrelmail.git] / functions / constants.php
index 10342589d8e6216bc0b965148ef9c9112d1b4625..17bffe92496d938627f2c575cfe684bb9edfd1af 100644 (file)
@@ -3,21 +3,23 @@
 /**
  * constants.php
  *
- * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Copyright (c) 1999-2005 The SquirrelMail Project Team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
- * Loads constants used by the rest of the Squirrelmail source.
- * This file is include by src/login.php, src/redirect.php and
- * src/load_prefs.php.
+ * Loads constants used by the rest of the SquirrelMail source.
+ * This file is included by functions/date.php, include/load_prefs.php,
+ * plugins/administrator/defines.php, src/login.php and src/redirect.php.
  *
- * $Id$
+ * @version $Id$
+ * @package squirrelmail
  */
 
-require_once('../functions/plugin.php');      // Required for the hook
+/** Need to enable plugin functions for a hook */
+require_once(SM_PATH . 'functions/plugin.php');  /* Required for the hook */
 
-/**************************************************************/
-/* Set values for constants used by Squirrelmail preferences. */
-/**************************************************************/
+////////////////////////////////////////////////////////////////
+// Set values for constants used by SquirrelMail preferences. //
+////////////////////////////////////////////////////////////////
 
 /* Define basic, general purpose preference constants. */
 define('SMPREF_NO', 0);
@@ -53,4 +55,4 @@ define('SMPREF_JS_AUTODETECT', 2);
 
 do_hook('loading_constants');
 
-?>
+?>
\ No newline at end of file