Re: [gbd-dev] Global and local settings
Status: Beta
Brought to you by:
mccabe
From: Linus M. <Li...@mc...> - 2005-06-27 03:37:53
|
On Monday 27 June 2005 02.40, Aaron McDonald wrote: > I'm thinking that the regular user wouldn't typically have permission to > write to the ServerScripts directory which might be owned by a more > privileged user, for example, on a Linux server. I propose a > /home/user/.gubed directory in which a user would place localsettings.ini. Good idea. Do you have any idea how is this done on windows? :] > The search would then be: > * file specified on http request - if this is allowed in global settings > * /home/$user/.gubed/localsettings.ini where $user is specified on http > request and > user overriding is enabled in global settings. > * ServerScripts/localsettings/localsettings_{$user}.ini where $user is > $_SERVER["REMOTE_USER"]. I think it should look in the same place wether the username is specified by the request or REMOTE_USER. /Linus |