Skip to content
Snippets Groups Projects
Commit f6e0e340 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

disable debugging by default

darcs-hash:20060917183150-7ad00-1672f8ef23dc49b6cdfd43d29338dab6a14a928c.gz
parent 523d7ea6
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment