[dokuwiki] proposal of changing file structure in conf folder

  • From: Anika Henke <anika@xxxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 28 Aug 2008 15:17:56 +0200

Hallo list!

Whenever I am upgrading a wiki or telling a customer what files to backup, I am unhappy with the file structure in the ./conf folder. Mostly because global and local configuration files are not separated sufficiently enough. It is not a big issue. But even when I know all the local files by heart, it still takes a while and some consideration to choose them.

Instead of this structure:

  dokuwiki.php
  local.php
  acronyms.conf
  acronyms.local.conf
  acl.auth.php.dist
  ...

I propose a ./conf/local folder like this:
  dokuwiki.php
  local/dokuwiki.php
  acronyms.conf
  local/acronyms.conf
  local/acl.auth.php
  ...

That way you never have to think twice again, you just need to copy the ./conf/local folder over to a new installation or backup. Inside the DokuWiki package that folder could come as ./conf/_local or similar (to avoid overwriting as is done now by the addition of '.dist').

Then we could probably even add all those local files that are not in the distribution (like acronyms.local.conf, empty of course), so it is one step less to use them.

What do you all think?


Anika
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: