[omd-commits] OMD Git: omd: Dokuwiki: New Auth Module Mulisite (not as default)

git version control git at mathias-kettner.de
Tue May 29 10:34:06 CEST 2012


Module:   omd
Branch:   master
Commit:   463df25d5522dce65d3711f2d922365a287a5a87
URL:      http://omdistro.org/projects/omd/repository/revisions/463df25d5522dce65d3711f2d922365a287a5a87

Author:   Bastian Kuhn <bk at mathias-kettner.de>
Date:     Tue May 29 10:26:08 2012 +0200
Commiter: Bastian Kuhn <bk at mathias-kettner.de>
Date:     Tue May 29 10:26:08 2012 +0200

Dokuwiki: New Auth Module Mulisite (not as default)

---

 packages/dokuwiki/Makefile                    |    1 +
 packages/dokuwiki/skel/etc/dokuwiki/local.php |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/packages/dokuwiki/Makefile b/packages/dokuwiki/Makefile
index 8e9abb6..1117bf8 100644
--- a/packages/dokuwiki/Makefile
+++ b/packages/dokuwiki/Makefile
@@ -21,6 +21,7 @@ build:
 install:
 	mkdir -p $(DESTDIR)$(OMD_ROOT)/share/dokuwiki
 	cp preload.php $(DIR)/inc/
+        cp multisite.class.php $(DIR)/inc/auth/
 	touch $(DIR)/lib/plugins/plugin/disabled
 	touch $(DIR)/conf $(DIR)/data
 	rm -r $(DIR)/conf $(DIR)/data
diff --git a/packages/dokuwiki/skel/etc/dokuwiki/local.php b/packages/dokuwiki/skel/etc/dokuwiki/local.php
index 025d3fd..0317994 100644
--- a/packages/dokuwiki/skel/etc/dokuwiki/local.php
+++ b/packages/dokuwiki/skel/etc/dokuwiki/local.php
@@ -5,4 +5,6 @@ $conf['useacl'] = 1;
 $conf['superuser'] = '@admin';
 $conf['template']='arctic';
 $conf['tpl']['arctic']['left_sidebar_content'] = 'index';
+$conf['multisite']['authfile'] = '/omd/sites/###SITE###/var/check_mk/wato/auth/auth.php';
+$conf['multisite']['auth_secret'] = '/omd/sites/###SITE###/etc/auth.secret';
 ?>



More information about the omd-commits mailing list