From: Reini U. <ru...@x-...> - 2004-01-26 09:40:27
|
Oliver Betz schrieb: > Reini Urban wrote: >>Why not storing the index.php configuration in the database, table >>config, editable only by the admin? > > because it would be less transparent. As long as the config is in a > plain text file, I can: > > - modify it without special tools, > - look at it (check it) as a whole, > - compare different configs with a text diff tool and > - merge settings e.g. when changing more thn one Wiki. > > I guess there are more reasons. > > Hiding configs in databases is one of the the disadvantages of the > windows way. > > As long as the config is php, one can add also special processing if > he/she wants. Persuaded. But I would like to seperate the config from the startup file. lib/config sanifies the config settings, so PHPWIKI_DIR."/config.php" would be fine. >>This is much easier to install and maybe easier to maintain then the > > Maintenance is harder, IMO. > > In which manner do you think the installation will be easier than > now? Most of the local apache/php settings could be calculated automatically. One should only define if e.g. USE_PATH_INFO = true or false, and the appropriate VIRTUAL_PATH, DATA_PATH settings can be calculated. Also applied .htaccess samples Same for database and authorization settings, which depend on the available libraries and services. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |