Forráskód Böngészése

Fixed dumb bug that I just committed...

thomppj 23 éve
szülő
commit
875ecb4aa2
2 módosított fájl, 3 hozzáadás és 3 törlés
  1. 1 1
      functions/constants.php
  2. 2 2
      functions/plugin.php

+ 1 - 1
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. */

+ 2 - 2
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) {