Results of the discussion about parameters removal

Joel Peshkin bugreport at peshkin.net
Wed Sep 5 14:58:17 UTC 2007


> Frédéric Buclin wrote:
>> Note that a few parameters will be
>> replaced by a constant so that you still have a way to edit them if you
>> really want to/have to. But most of the ones we want to remove will be
>> simply killed.
>
> Shouldn't we find some 'better' way of doing it that doesn't mean having
> to edit the file each time you update?
> -

This sounds like a case where we should provide a file that sets the
defaults so the user can copy to their own location.  So, if we provide
"settings.pl", the user can provide "settings.pl.local" and override those
settings.

This file could look like...


# DO NOT EDIT THIS ORIGINAL FILE (settings.pl)
# Copy this file to settings.pl.local and make changes there

package Settings;   # is there a better way to set a namespace?

# usermatchmode can be search, none, or wildcard
$usermatchmode = 'search';

# cookiepath, if not specified will be inferred from urlbase
# $cookiepath = '/';

# ...etc...
1;






More information about the developers mailing list