From: Paul L. <pa...@sq...> - 2006-09-01 17:46:44
|
On 8/15/06, Joris Roefs <Jor...@on...> wrote: > Hi list, > > I've installed (Debian): > - Squirrelmail trough apt (1.4.7) > - plugin: Multilogin (2.3.2, NOT activated) > - plugin: Vlogin (3.8.0, activated) > - compat. Plugin (2.0.4) > > I've also created a config file in > squirrelmail/plugins/vlogin/data/domains/<domain>.vlogin.config.php Certain settings are not guaranteed to work when set from that file. Can you please try moving the desired settings to the main vlogin configuration file at least just for testing? I'll try to replicate, but... > I am 100% sure that the file gets parsed _and_ that the vars are used: > the login page shows my custome name and after login the page title is > also my own. > > What I want to achieve is: a custom address_dsn, prefs_dsn etc. This > seems not to work. > Having quite extensively debugged both vlogin and multilogin, I see the > variable being taken out of the $virtualDomains array and saved as a > 'normal' SM variable: dumping the vars from both vlogin, multilogin and > redirect.php shows me that $address_dsn contains the correct DSN. > > But, as long as the variable in squirrelmail/config/config.php contains > an empty $address_dsn, SM does not use the mysql-database I want it to > use. > My conclusion: somewhere after the plugins are loaded, these settings > are overwritten by their 'defaults' from the main config.php. > > Can someone direct me in the right direction as to where this overwrite > takes place? > Not everything is particularly well documented in-code (vlogin is > especially HARD to read) and it's obvious I'm missing something here. > > Thanks for any pointers you can provide! |