X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=check_setup.php;h=cf02c34baeacffc8cfc673c4b31c9a6ca69119e7;hb=8a76674568d2746cd62027655cacd983639a88f8;hp=eee5d24a4416cc7aeb5ec36589c51eebbc99b094;hpb=657245dcbdbca323621952d2b6f9e991dd94fa03;p=github%2Fwallabag%2Fwallabag.git diff --git a/check_setup.php b/check_setup.php old mode 100644 new mode 100755 index eee5d24a..cf02c34b --- a/check_setup.php +++ b/check_setup.php @@ -1,22 +1,8 @@ "short_open_tag = On"'); - } -} -$writableFolders = array('cache', 'db'); -foreach ($writableFolders as $folder) { - if (! is_writable($folder)) { - die('The directory "' . $folder . '" must be writeable by your web server user'); - } +// Check if /cache is writeable +if (! is_writable('cache')) { + die('The directory "cache" must be writeable by your web server user'); } // install folder still present, need to install wallabag