From: Jim C. <ji...@in...> - 2004-05-22 06:38:37
|
On May 22, 2004, at 11:22 AM, Matthew Palmer wrote: > On Sat, May 22, 2004 at 10:18:59AM +1200, Jim Cheetham wrote: >> How difficult would it be to virtualise the entire wiki? > > php_value auto_prepend_file /some/config/file.php > > Where /some/config/file.php is unique for each instance, and contains > pretty > much the following code: > > require_once '/usr/share/phpwiki/lib/IniConfig.php'; > IniConfig('/some/config/file.ini'); > define('__CONFIGURED', true); > This sounds like an interesting approach, and something I can keep in mind for other projects, too :-) I'd like to see this in phpwiki, but from your description I can happily add it to my own copies. I don't really know whether such a modification should be in the Debian version if it's not in the main project, but that's not my call ... -jim |