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

don't check data dir writability in do=check

these are already checked in init.php, so we can save some space here
parent 25ca5b17
No related branches found
No related tags found
No related merge requests found
......@@ -148,36 +148,6 @@ function check(){
}
}
if(is_writable($conf['datadir'])){
msg('Datadir is writable',1);
}else{
msg('Datadir is not writable',-1);
}
if(is_writable($conf['olddir'])){
msg('Attic is writable',1);
}else{
msg('Attic is not writable',-1);
}
if(is_writable($conf['mediadir'])){
msg('Mediadir is writable',1);
}else{
msg('Mediadir is not writable',-1);
}
if(is_writable($conf['cachedir'])){
msg('Cachedir is writable',1);
}else{
msg('Cachedir is not writable',-1);
}
if(is_writable($conf['lockdir'])){
msg('Lockdir is writable',1);
}else{
msg('Lockdir is not writable',-1);
}
if(is_writable(DOKU_CONF)){
msg('conf directory is writable',1);
}else{
......
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