From 9a98d518a036efe8c3d05b028fe47842aaa47041 Mon Sep 17 00:00:00 2001 From: kpcyrd Date: Sat, 12 Jul 2014 19:59:39 +0200 Subject: Fix is_writable check for templates/cache --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install.php') diff --git a/install.php b/install.php index db2e7885..d5ccc7c5 100644 --- a/install.php +++ b/install.php @@ -721,7 +721,7 @@ if ($step == 0) { array( 'category' => 'File permissions', 'name' => getcwd() . '/templates/cache', - 'result' => is_writable('templates') && (!is_dir('templates/cache') || is_writable('templates/cache')), + 'result' => is_writable('templates') || (is_dir('templates/cache') && is_writable('templates/cache')), 'required' => true, 'message' => 'You must give vichan permission to create (and write to) the templates/cache directory or performance will be drastically reduced.' ), -- cgit v1.3