Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
/etc/dokuwiki/local.php for multiple DokuWiki installations in Ubuntu
$host = strtolower($_SERVER['HTTP_HOST']);
$file['local'] = '/etc/dokuwiki/'.$host.'/local.php';
$prefix = '/var/lib/dokuwiki/'.$host.'/';
$conf['olddir'] = $prefix.'attic';
$conf['cachedir'] = $prefix.'cache';
$conf['lockdir'] = $prefix.'locks';
$conf['mediadir'] = $prefix.'media';
$conf['metadir'] = $prefix.'meta';
$conf['datadir'] = $prefix.'pages';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.