[Tickets #2596] Empty inbox when any IMP preferences are saved in the MySQL backend

bugs@bugs.horde.org bugs at bugs.horde.org
Tue Sep 13 10:26:32 PDT 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=2596
-----------------------------------------------------------------------
 Ticket             | 2596
 Updated By         | krustev at krustev.net
 Summary            | Empty inbox when any IMP preferences are saved in the MySQL backend
 Queue              | IMP
 Version            | 4.0.3
 State              | Feedback
 Priority           | 2. Medium
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


krustev at krustev.net (2005-09-13 10:26) wrote:

I'm also using this approach to allow my users to override any of the
configuration options:

*****************************
# cat /etc/horde/horde3/prefs.php
<?php

$uid = posix_getuid();
$uinfo = posix_getpwuid($uid);

if (is_readable($uinfo['dir'] . '/.config/etc/horde/horde3/prefs.php')) {
    require_once $uinfo['dir'] . '/.config/etc/horde/horde3/prefs.php';
} else {
    require_once '/etc/horde/horde3/prefs.default.php';
}
*****************************
The diffs I've pasted is from this prefs.default.php
I also use this for several other horde's/imp's config files.




More information about the bugs mailing list