X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fconstants.php;h=649febf8f1ad4ec409139479b73a4a61758cc112;hb=bb50b50818e1eb3b2ff8f8c49883c1a7f19707e5;hp=10342589d8e6216bc0b965148ef9c9112d1b4625;hpb=5ed13ec82d57e60d99629c25590e799bd5a4506b;p=squirrelmail.git diff --git a/functions/constants.php b/functions/constants.php index 10342589..649febf8 100644 --- a/functions/constants.php +++ b/functions/constants.php @@ -3,7 +3,7 @@ /** * constants.php * - * Copyright (c) 1999-2002 The SquirrelMail Project Team + * Copyright (c) 1999-2004 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. @@ -11,9 +11,11 @@ * src/load_prefs.php. * * $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. */