From 3008b6671845c9d4fabc53062b9140b5bf965b96 Mon Sep 17 00:00:00 2001 From: Andreas Gohr <andi@splitbrain.org> Date: Sat, 28 Jul 2012 09:05:47 +0200 Subject: [PATCH] don't check data dir writability in do=check these are already checked in init.php, so we can save some space here --- inc/infoutils.php | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/inc/infoutils.php b/inc/infoutils.php index ff752cd0f..2361b9081 100644 --- a/inc/infoutils.php +++ b/inc/infoutils.php @@ -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{ -- GitLab