* Got bored and copied all the validate.php and define() stuff to 1.1
[squirrelmail.git] / functions / prefs.php
index aadbcb3f68a6ab6a4358401cc51396d5af181363..aaa263b2aa4550a3407b37f5c3c37eed44757dd1 100644 (file)
@@ -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();