second block in 'program with rg=off' section
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10491
7612ce4b-ef26-0410-bec9-
ea0150e637f0
8.4. functions/global.php
9. functions/prefs.php (already loaded. see 7.2)
8.4. functions/global.php
9. functions/prefs.php (already loaded. see 7.2)
+Since SquirrelMail 1.5.1 functions/global.php file must be loaded before
+setting any own global variables. If variables are set before loading
+functions/global.php library, they can be corrupted in PHP register_globals=On
+setups.
+
Hook Types: Parameters and Return Values
-----------------------------------------
Hook Types: Parameters and Return Values
-----------------------------------------
global $favorite_color;
sqgetGlobalVar('favorite_color', $favorite_color, SQ_FORM);
global $favorite_color;
sqgetGlobalVar('favorite_color', $favorite_color, SQ_FORM);
+SquirrelMail 1.5.1+ cleans globals in functions/global.php library. If
+plugin depends on PHP register_globals=On and loads this library, it will
+be broken.
+
Security considerations
-----------------------
Security considerations
-----------------------