From: thomppj Date: Sun, 2 Dec 2001 09:37:39 +0000 (+0000) Subject: Fixed dumb bug that I just committed... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0a17ec326717611f4e339d44986741ef53f3c0f6;p=squirrelmail.git Fixed dumb bug that I just committed... git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1826 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/constants.php b/functions/constants.php index 8605078d..69e8ae7c 100644 --- a/functions/constants.php +++ b/functions/constants.php @@ -29,7 +29,7 @@ /*** Thank you for your help making the SM code more readable. ***/ /*****************************************************************/ -require_once( '../functions/plugin.php' ); // Required for the hook +require_once('../functions/plugin.php'); // Required for the hook /**************************************************************/ /* Set values for constants used by Squirrelmail preferences. */ diff --git a/functions/plugin.php b/functions/plugin.php index df8d3709..fdc7020d 100644 --- a/functions/plugin.php +++ b/functions/plugin.php @@ -17,7 +17,7 @@ /*** THIS FILE NEEDS TO HAVE ITS FORMATTING FIXED!!! ***/ /*** PLEASE DO SO AND REMOVE THIS COMMENT SECTION. ***/ /*** + Base level indent should begin at left margin, as ***/ -/*** the $squirrelmail_plugin_hooks stuff below. ***/ +/*** the first line of the function definition below. ***/ /*** + All identation should consist of four space blocks ***/ /*** + Tab characters are evil. ***/ /*** + all comments should use "slash-star ... star-slash" ***/ @@ -30,7 +30,7 @@ /*****************************************************************/ global $squirrelmail_plugin_hooks; -squirrelmail_plugin_hooks = array(); +$squirrelmail_plugin_hooks = array(); // This function adds a plugin function use_plugin ($name) {