X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=check_setup.php;h=cf02c34baeacffc8cfc673c4b31c9a6ca69119e7;hb=bd5cfe87d41451544112d1b7bb57c3df06e80cd9;hp=c86b17faf6ae7101245ae7cfea3d1b1777ecc69a;hpb=58dbe103889148def78b0fc8744d3f94c56a1561;p=github%2Fwallabag%2Fwallabag.git diff --git a/check_setup.php b/check_setup.php old mode 100644 new mode 100755 index c86b17fa..cf02c34b --- a/check_setup.php +++ b/check_setup.php @@ -1,22 +1,8 @@ "short_open_tag = On"'); - } -} -$writableFolders = array('cache', 'db', 'inc/3rdparty/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer'); -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