diff options
author | chris <chris@jalakai.co.uk> | 2006-09-17 17:46:59 +0200 |
---|---|---|
committer | chris <chris@jalakai.co.uk> | 2006-09-17 17:46:59 +0200 |
commit | 523d7ea679fbee2ac23be781cc70a43e10997e54 (patch) | |
tree | 6ee81b75acc88fdabe03a035a8d70f6a008b4bb8 /install.php | |
parent | 4c39371e0e36b4fbbb44fd08c2017226e8f260a4 (diff) | |
download | rpg-523d7ea679fbee2ac23be781cc70a43e10997e54.tar.gz rpg-523d7ea679fbee2ac23be781cc70a43e10997e54.tar.bz2 |
install script update II
- alter acl configuration to use @admin group as superuser
darcs-hash:20060917154659-9b6ab-37145ebda1f04ad29ae430b463f7305eaccad9fd.gz
Diffstat (limited to 'install.php')
-rw-r--r-- | install.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/install.php b/install.php index b00a231d6..bec6440a0 100644 --- a/install.php +++ b/install.php @@ -262,7 +262,7 @@ EOT; if($d['acl']){ $output .= '$conf[\'allowdebug\'] = 0'.";\n"; $output .= '$conf[\'useacl\'] = 1'.";\n"; - $output .= '$conf[\'superuser\'] = \''.$d['superuser']."';\n"; + $output .= "\$conf['superuser'] = '@admin';\n"; } $ok = $ok && fileWrite(DOKU_LOCAL.'local.php',$output); @@ -270,7 +270,7 @@ EOT; if ($d['acl']) { // create users.auth.php // --- user:MD5password:Real Name:email:groups,comma,seperated - $output = join(":",array($d['superuser'], md5($d['password']), $d['fullname'], $d['email'], 'users')); + $output = join(":",array($d['superuser'], md5($d['password']), $d['fullname'], $d['email'], 'admin')); $output = @file_get_contents(DOKU_CONF.'users.auth.php.dist')."\n$output\n"; $ok = $ok && fileWrite(DOKU_LOCAL.'users.auth.php', $output); @@ -296,6 +296,7 @@ EOT; $output .= "* @ALL 8\n"; } + $output .= "* @admin 255\n"; $ok = $ok && fileWrite(DOKU_LOCAL.'acl.auth.php', $output); } return $ok; |