Re: where the little prefs come from

Sebastian Birnbach <[email protected]> Mon, 25 Jun 2018 11:09:40 +0200
Newsgroups gmane.comp.horde.devel
Message-ID <CACTNBFNPde+bArGXfaqwcpPZ5iDdMK_9Lm75EN6nucbkDi17mA@mail.gmail.com>
Mike,

thanks a lot for you input.

You're absolutely right about config.local.php, prefs.local.php and
prefs.php. When I started this project I did not know or care about the
local.local.php mechanism and just followed the general warning not to
change prefs.php

To make a long story short: the problem was quite subtle, I used keyword
'default' instead of 'value' in prefs.conf.



> The scope for the prefs for YOUR application should not be 'horde' - it
> should be your application's name. It sounds like there is many something
> wrong with the way your app is being registered in the registry or the
> prefs.local.php file is being placed in the wrong directory maybe...
>
[...]

I noticed that and was wondering how values from prefs.conf are read into
the GLOBALS['prefs'] variable. After messing around with
/usr/local/share/pear/Horde/Registry.php and a few other files I still have
not quite understood the mechanism and how it did not warn me of the
problem (see above).

I took the liberty of filing a RFE although this might be viewed as an
individual case

Kind regards

  birnbacs
-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]