summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorKlap-in <klapinklapin@gmail.com>2013-02-16 23:08:08 +0100
committerKlap-in <klapinklapin@gmail.com>2013-02-16 23:08:08 +0100
commite57cf65d092c1a6458c3a468b017018905018eeb (patch)
treecb06ff0cf82afed514aa95c5c33e5faef8a9ef62 /install.php
parenta0e625181ad2e2369e8db0e5691f7356363776d0 (diff)
parent9bbf02e86e5c1181bbc288ce42f1937f309a7e79 (diff)
downloadrpg-e57cf65d092c1a6458c3a468b017018905018eeb.tar.gz
rpg-e57cf65d092c1a6458c3a468b017018905018eeb.tar.bz2
Merge remote-tracking branch 'origin/master' into authpluginconfig
Diffstat (limited to 'install.php')
-rw-r--r--install.php21
1 files changed, 20 insertions, 1 deletions
diff --git a/install.php b/install.php
index f54c25207..2db25bd2f 100644
--- a/install.php
+++ b/install.php
@@ -54,7 +54,8 @@ $dokuwiki_hash = array(
'2011-05-25' => '4241865472edb6fa14a1227721008072',
'2011-11-10' => 'b46ff19a7587966ac4df61cbab1b8b31',
'2012-01-25' => '72c083c73608fc43c586901fd5dabb74',
- '2012-09-10' => 'eb0b3fc90056fbc12bac6f49f7764df3'
+ '2012-09-10' => 'eb0b3fc90056fbc12bac6f49f7764df3',
+ 'devel' => '7b62b75245f57f122d3e0f8ed7989623',
);
@@ -391,6 +392,24 @@ EOT;
@touch(DOKU_INC.'data/cache/autosubmit.txt');
}
+ // disable auth plugins til needed
+ $output = <<<EOT
+<?php
+/*
+ * Local plugin enable/disable settings
+ *
+ * Auto-generated by install script
+ * Date: $now
+ */
+
+\$plugins['authad'] = 0;
+\$plugins['authldap'] = 0;
+\$plugins['authmysql'] = 0;
+\$plugins['authpgsql'] = 0;
+
+EOT;
+ $ok = $ok && fileWrite(DOKU_LOCAL.'plugins.local.php', $output);
+
return $ok;
}