> Le Vendredi 25 Novembre 2005 19:28, dombre a écrit : >> Olivier Thauvin a écrit : >> >The current code of glpi use backups/dump, glpi/config and docs/ to >> store >> >users data and configuration, needing write access to web server. >> > >> >Most vendor (unix distribution like Mandriva, Debian or other) prefer >> to >> > split code and static data (read only) from users configuration: >> >- for securitty reason, it is not safe to have write access on the http >> > tree - convenience purpose, aka make easy backup and update. >> > >> >User's data are mostly hardcoded into glpi scripts in many location. A >> >solution would be to have $cfg_install[...] variable for current >> > glpi/config, backups/dump and docs/ into a >> glpi/config/config_path.php, >> > and so using this small script into all other scripts >> > (glpi/config/config.php, install.php, etc...). >> > >> >Using such of >> > >> >WDYT ? Should I start to make a patch or should I deal with the current >> >settings ? >> >> Hi, >> >> you could make a patch but using the latest CVS version in order to be >> easy to include. > > Yes of course. What I was doing. > >> If you do it all paths must to be configurable online. > > Sorry ? I have a big doubt. I am talking about the main configuration, aka > low > level configuration saying where is the rest of configuration. > > If the interface have to write into this file, we back to problem, aka > having > to set writting permission somewhere into code tree...
Yes you are right. These paths must not to be modified online. Sorry. Julien