diff options
author | Andreas Gohr <andi@splitbrain.org> | 2006-09-17 20:31:50 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2006-09-17 20:31:50 +0200 |
commit | f6e0e34061cd0ad2164f5b2010e111e08488fabb (patch) | |
tree | 43f96f216289189db7a5d7758b288529ba44d867 | |
parent | 523d7ea679fbee2ac23be781cc70a43e10997e54 (diff) | |
download | rpg-f6e0e34061cd0ad2164f5b2010e111e08488fabb.tar.gz rpg-f6e0e34061cd0ad2164f5b2010e111e08488fabb.tar.bz2 |
disable debugging by default
darcs-hash:20060917183150-7ad00-1672f8ef23dc49b6cdfd43d29338dab6a14a928c.gz
-rw-r--r-- | conf/dokuwiki.php | 2 | ||||
-rw-r--r-- | install.php | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/conf/dokuwiki.php b/conf/dokuwiki.php index 972c4f57e..fb94f7502 100644 --- a/conf/dokuwiki.php +++ b/conf/dokuwiki.php @@ -19,7 +19,7 @@ $conf['lang'] = 'en'; //your language $conf['basedir'] = ''; //absolute dir from serveroot - blank for autodetection $conf['baseurl'] = ''; //URL to server including protocol - blank for autodetect $conf['savedir'] = './data'; //where to store all the files -$conf['allowdebug'] = 1; //make debug possible, disable after install! 0|1 +$conf['allowdebug'] = 0; //allow debug output, enable if needed 0|1 /* Display Options */ diff --git a/install.php b/install.php index bec6440a0..7232c3c5e 100644 --- a/install.php +++ b/install.php @@ -40,7 +40,7 @@ $dokuwiki_hash = array( '2005-09-22' => 'e33223e957b0b0a130d0520db08f8fb7', '2006-03-05' => '51295727f79ab9af309a2fd9e0b61acc', '2006-03-09' => '51295727f79ab9af309a2fd9e0b61acc', - 'devel' => 'd28d181b4f5c6a07be223c93502013c2', + 'devel' => 'b32d3dd4330a0d24c8ce4ffaeafc6026', ); @@ -260,7 +260,6 @@ EOT; $output .= '$conf[\'title\'] = \''.addslashes($d['title'])."';\n"; $output .= '$conf[\'lang\'] = \''.addslashes($LC)."';\n"; if($d['acl']){ - $output .= '$conf[\'allowdebug\'] = 0'.";\n"; $output .= '$conf[\'useacl\'] = 1'.";\n"; $output .= "\$conf['superuser'] = '@admin';\n"; } @@ -270,7 +269,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'], 'admin')); + $output = join(":",array($d['superuser'], md5($d['password']), $d['fullname'], $d['email'], 'admin,user')); $output = @file_get_contents(DOKU_CONF.'users.auth.php.dist')."\n$output\n"; $ok = $ok && fileWrite(DOKU_LOCAL.'users.auth.php', $output); |