X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fload_prefs.php;h=ccce865489d5a98a13cdc1cc56252d83a28ca0c0;hb=2f7bda0a8c516559772a49b6ea3bc936be178233;hp=07856cf102b07a27b298db4ac42ed2084f67e9ba;hpb=0d672ac0213e1aa4b87954a10796cf4fdc0adf3c;p=squirrelmail.git diff --git a/src/load_prefs.php b/src/load_prefs.php index 07856cf1..ccce8654 100644 --- a/src/load_prefs.php +++ b/src/load_prefs.php @@ -19,7 +19,10 @@ require_once('../functions/constants.php'); $username = ( !isset($username) ? '' : $username ); -global $theme, $chosen_theme, $color; +global $theme, $chosen_theme, $color, $custom_css; + +$custom_css = getPref($data_dir, $username, 'custom_css', 'none' ); + $theme = ( !isset($theme) ? array() : $theme ); $color = ( !isset($color) ? array() : $color ); @@ -226,7 +229,7 @@ $javascript_setting = $javascript_on = getPref($data_dir, $username, 'javascript_on', SMPREF_ON); global $search_memory; -$search_memory = getPref($data_dir, $username, 'search_memory', 2); +$search_memory = getPref($data_dir, $username, 'search_memory', 0); do_hook('loading_prefs');