From 3602405ec0dbc576fce09ff9e865ba2404622080 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Fri, 11 Jul 2014 16:03:59 +0200 Subject: WHAT. A. BIG. REFACTOR. + new license (we moved to MIT one) --- check_setup.php | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'check_setup.php') diff --git a/check_setup.php b/check_setup.php index 2b84a744..eee5d24a 100644 --- a/check_setup.php +++ b/check_setup.php @@ -1,5 +1,4 @@ Date: Sat, 12 Jul 2014 22:08:48 +0200 Subject: #584 check permissions for HTMLPurifier/DefinitionCache/Serializer folder --- check_setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'check_setup.php') diff --git a/check_setup.php b/check_setup.php index eee5d24a..c86b17fa 100644 --- a/check_setup.php +++ b/check_setup.php @@ -12,7 +12,7 @@ if (version_compare(PHP_VERSION, '5.4.0', '<')) { } } -$writableFolders = array('cache', 'db'); +$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'); -- cgit v1.2.3 From a818ff2000c721c6f078c206c3f5214c558a5546 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Wed, 23 Jul 2014 13:35:19 +0200 Subject: removed permissions test on htmlpurifier --- check_setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'check_setup.php') diff --git a/check_setup.php b/check_setup.php index c86b17fa..eee5d24a 100644 --- a/check_setup.php +++ b/check_setup.php @@ -12,7 +12,7 @@ if (version_compare(PHP_VERSION, '5.4.0', '<')) { } } -$writableFolders = array('cache', 'db', 'inc/3rdparty/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer'); +$writableFolders = array('cache', 'db'); foreach ($writableFolders as $folder) { if (! is_writable($folder)) { die('The directory "' . $folder . '" must be writeable by your web server user'); -- cgit v1.2.3 From 211068ce504c48ee95e742a12ec04f16f3988c6c Mon Sep 17 00:00:00 2001 From: Maryana Rozhankivska Date: Thu, 21 Aug 2014 17:17:36 +0300 Subject: vendor dir is not accessible before install, sqlite db dir write check moved into db class --- check_setup.php | 5 ----- 1 file changed, 5 deletions(-) mode change 100644 => 100755 check_setup.php (limited to 'check_setup.php') diff --git a/check_setup.php b/check_setup.php old mode 100644 new mode 100755 index 7e378b15..cf02c34b --- a/check_setup.php +++ b/check_setup.php @@ -5,11 +5,6 @@ if (! is_writable('cache')) { die('The directory "cache" must be writeable by your web server user'); } -// Check if /db is writeable -if (! is_writable('db') && STORAGE === 'sqlite') { - die('The directory "db" must be writeable by your web server user'); -} - // install folder still present, need to install wallabag if (is_dir('install')) { require('install/index.php'); -- cgit v1.2.3