Update of /cvsroot/squirrelmail/squirrelmail/functions
In directory usw-pr-cvs1:/tmp/cvs-serv10626
Modified Files:
prefs.php
Log Message:
Fix prefs so they work under 4.2 as well as 4.1.x. This really needs to
be fixed properly sometime though!
Index: prefs.php
===================================================================
RCS file: /cvsroot/squirrelmail/squirrelmail/functions/prefs.php,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -w -r1.53 -r1.54
--- prefs.php 4 Feb 2002 12:53:26 -0000 1.53
+++ prefs.php 26 Apr 2002 18:35:00 -0000 1.54
@@ -16,7 +16,8 @@
if ( !session_is_registered('prefs_are_cached') ||
!isset( $prefs_cache) ||
!is_array( $prefs_cache) ||
- substr( phpversion(), 0, 3 ) == '4.1' ) {
+ substr( phpversion(), 0, 3 ) == '4.1' ||
+ substr( phpversion(), 0, 3 ) == '4.2' ) {
$prefs_are_cached = false;
$prefs_cache = array();
}
|