projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Got bored and copied all the validate.php and define() stuff to 1.1
[squirrelmail.git]
/
functions
/
prefs.php
diff --git
a/functions/prefs.php
b/functions/prefs.php
index aadbcb3f68a6ab6a4358401cc51396d5af181363..aaa263b2aa4550a3407b37f5c3c37eed44757dd1 100644
(file)
--- a/
functions/prefs.php
+++ b/
functions/prefs.php
@@
-7,8
+7,11
@@
** $Id$
**/
- $prefs_php = true;
-
+ if (defined('prefs_php'))
+ return;
+ define('prefs_php', true);
+
+ global $prefs_are_cached, $prefs_cache;
$prefs_are_cached = false;
$prefs_cache = array();