diff options
author | lupo49 <post@lupo49.de> | 2011-11-12 16:22:44 +0100 |
---|---|---|
committer | lupo49 <post@lupo49.de> | 2011-11-12 16:22:44 +0100 |
commit | fe9851b94f1bfe4014cf48043b4609def611a3ee (patch) | |
tree | 2362c48e0526f2254bb80a70db107b3032736a80 /inc/infoutils.php | |
parent | 1614eb9180008daaf518e6271b82222219efc008 (diff) | |
parent | 2c961e6163b23ef3f1d93b1b0c23b214f3aeb358 (diff) | |
download | rpg-fe9851b94f1bfe4014cf48043b4609def611a3ee.tar.gz rpg-fe9851b94f1bfe4014cf48043b4609def611a3ee.tar.bz2 |
Merge remote branch 'upstream/master'
Diffstat (limited to 'inc/infoutils.php')
-rw-r--r-- | inc/infoutils.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/inc/infoutils.php b/inc/infoutils.php index f1deec66b..2b8486906 100644 --- a/inc/infoutils.php +++ b/inc/infoutils.php @@ -24,7 +24,7 @@ function checkUpdateMessages(){ $lm = @filemtime($cf); // check if new messages needs to be fetched - if($lm < time()-(60*60*24) || $lm < @filemtime(DOKU_INC.'doku.php')){ + if($lm < time()-(60*60*24) || $lm < @filemtime(DOKU_INC.DOKU_SCRIPT)){ $http = new DokuHTTPClient(); $http->timeout = 8; $data = $http->get(DOKU_MESSAGEURL.$updateVersion); @@ -175,6 +175,12 @@ function check(){ msg('Lockdir is not writable',-1); } + if(is_writable(DOKU_CONF)){ + msg('conf directory is writable',1); + }else{ + msg('conf directory is not writable',-1); + } + if($conf['authtype'] == 'plain'){ global $config_cascade; if(is_writable($config_cascade['plainauth.users']['default'])){ |