Some fixup.
[squirrelmail.git] / functions / constants.php
index 4734a819a05fca6c8b2cac78c9ec401bd3f96b9f..a53c3cb5d8e74cab04b1f2f09f2da517c9560e63 100644 (file)
@@ -1,21 +1,24 @@
 <?php
+
     /**
-     * constants.php
+     *  constants.php
      *
-     * Copyright (c) 1999-2001 The SquirrelMail Development Team
-     * Licensed under the GNU GPL. For full terms see the file COPYING.
+     *  Copyright (c) 1999-2001 The SquirrelMail Development 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 include by src/login.php, src/redirect.php and
+     *  src/load_prefs.php.
      *
-     * $Id$
+     *  $Id$
      */
 
     /**************************************************************/
     /* Set values for constants used by Squirrelmail preferences. */
     /**************************************************************/
 
+    require_once( '../functions/plugin.php' );      // Required for the hook
+
     /* Define basic, general purpose preference constants. */
     define('SMPREF_NO', 0);
     define('SMPREF_OFF', 0);
@@ -46,5 +49,5 @@
     define('SMPREF_JS_ON', 1);
     define('SMPREF_JS_AUTODETECT', 2);
 
-    do_hook("loading_constants");
+    do_hook('loading_constants');
 ?>