From: Steve W. <sw...@wc...> - 2000-10-01 22:41:38
|
On Sun, 1 Oct 2000, Jan Nieuwenhuizen wrote: > Ok. Wouldn't it help if we made wiki_config.php3 a lot smaller, > and make type of database selectable by a single variable, something > like: > > <?php3 > > $DataBase = "dbm"; # "mysql", "pgsql", "msql" > > $DatabaseDir = "/tmp"; # only used by DBM > $DatabaseName = "wiki"; # only used by > $DatabaseUser = "wiki"; > $DatabasePass = ""; > $LANG = "C"; > > > // you probably don't need to change these > $DatabaseServer = "localhost"; > $DatabasePort = "5432"; # only used by pgsql > ... > > ?> > > This gets included by index.php3, which also includes the relevant > db config. Yes, it's been on my mind for a while but haven't gotten around to it. The section the admin edits could be shortened and made a lot clearer. > Also, why don't we make RedHat and debian packages. That should make > install both easy, and OK for no-messing-with-my-package-system people. > > apt-get install phpwiki > > is a lot simpler than surfing the internet for a wiki's most recent > tarball, handconfigure it, etc. Do you volunteer? ;-) sw ...............................ooo0000ooo................................. Hear FM quality freeform radio through the Internet: http://wcsb.org/ home page: www.wcsb.org/~swain |