From: Reini U. <ru...@x-...> - 2004-06-29 11:34:10
|
Jim Cheetham schrieb: > Dan Frankowski wrote: > >> I replied that Twiki has a notion of multiple "webs", but Phpwiki had >> no such. One could run multiple Phpwiki instances, but then if the >> code changes, you have to update code and config for each instance >> separately. >> >> Does anyone have better ideas? > > Yes, Matthew Palmer was talking about enabling this for the Debian > packaged version. The current stopper is that index.php looks in a fixed > location for the config file, but if this were overridden by a php value > set in the .htaccess file, you could have a lot of flexibility. Here's > (part of) his original post ... You don't need seperate config.ini's. Put the common options into config.ini and the overrides (DATABASE_DSN, WIKI_NAME, ...) into the short starter script. I run about 30 different databases with lots of different options with the same config.ini. CONSTANT's override config.ini settings, besides the DATA_BASE settings, which must be defined after loading index.php. Some files of my /wiki dir are attached. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |