diff options
author | Andreas Gohr <andi@splitbrain.org> | 2012-07-28 09:05:47 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2012-07-28 09:05:47 +0200 |
commit | 3008b6671845c9d4fabc53062b9140b5bf965b96 (patch) | |
tree | 6e0d7b1a32969762e542a7d1037ec8b4244d89e3 | |
parent | 25ca5b173a87cd432ce8b4d1ba11ea190c37f866 (diff) | |
download | rpg-3008b6671845c9d4fabc53062b9140b5bf965b96.tar.gz rpg-3008b6671845c9d4fabc53062b9140b5bf965b96.tar.bz2 |
don't check data dir writability in do=check
these are already checked in init.php, so we can save some space here
-rw-r--r-- | inc/infoutils.php | 30 |
1 files changed, 0 insertions, 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{ |