[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squirrelmail-cvs
Subject:    [SM-CVS] CVS: squirrelmail/doc/Development plugin.txt,1.11,1.12
From:       Tomas Kuliavas <tokul () users ! sourceforge ! net>
Date:       2005-12-20 11:53:33
Message-ID: E1Eog3h-0008BJ-5R () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]

Update of /cvsroot/squirrelmail/squirrelmail/doc/Development
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31313

Modified Files:
	plugin.txt 
Log Message:
first block in 'loading other files' section
second block in 'program with rg=off' section


Index: plugin.txt
===================================================================
RCS file: /cvsroot/squirrelmail/squirrelmail/doc/Development/plugin.txt,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -w -r1.11 -r1.12
--- plugin.txt	27 Nov 2005 07:56:21 -0000	1.11
+++ plugin.txt	20 Dec 2005 11:53:30 -0000	1.12
@@ -211,6 +211,11 @@
       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
 -----------------------------------------
@@ -1395,6 +1400,10 @@
    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
 -----------------------



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
--
squirrelmail-cvs mailing list
List Address: squirrelmail-cvs@lists.sourceforge.net
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-cvs
http://squirrelmail.org/cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic