From: Tomas K. <to...@us...> - 2008-12-11 18:04:43
|
2008-12-11 19:51 Alvaro Hernandez rašė: > On Fri, Dec 12, 2008 at 5:12 AM, Tomas Kuliavas > <to...@us...> wrote: >> >> >> Alvaro Hernandez wrote: >>> >>> Hi >>> >>> I use Squierrelmail 1.14.16 on CentOS with bayesspam, forced_prefs >>> plugins and Mysql 4.1.22. >>> >>> I want to set by default for all user, bayesspam_folder = >>> 'INBOX.spam', bayesspam_inboxonly = 1, bayesspam_ignore_folders_0 = >>> 'INBOX.spam', bayesspam_ignore_folders_1 = 'INBOX.Trash'. With the >>> objective of saving work to users. >>> >>> I install the forced_prefs plugin, but still I can't get to set by >>> default the desired values. Can anyone on the list do a recommendation >>> about it? >>> >> >> Could you show your forced_prefs plugin $fp_forced_settings and >> $fp_added_settings configuration settings? >> >> -- >> Tomas > > my $fp_forced_settings are > > $fp_forced_settings = array('bayesspam_inboxonly'='1', > 'bayesspam_folder'='INBOX.spam', > 'bayesspam_ignore_folder_0'='INBOX.Trash') > > without $fp_added_settings values > Check your error logs. Arrays are not written that way in PHP. $fp_forced_settings = array('bayesspam_inboxonly' => '1', 'bayesspam_folder' => 'INBOX.spam', 'bayesspam_ignore_folder_0' => 'INBOX.Trash'); -- Tomas |