diff --git a/inc/cache_enabler.class.php b/inc/cache_enabler.class.php index 81343aa..b34b92b 100644 --- a/inc/cache_enabler.class.php +++ b/inc/cache_enabler.class.php @@ -2367,8 +2367,11 @@ public static function requirements_check() { foreach ( $dirs as $dir ) { $parent_dir = dirname( $dir ); if ( - ( file_exists( $parent_dir ) && ! is_writable( $parent_dir ) ) || - ( ! file_exists( $parent_dir ) && ! is_writable( dirname($parent_dir) ) ) + ( file_exists( $dir ) && ! is_writable( $dir ) && ! is_link( $dir ) ) || // dir exists but not writable and not a symlink + ( ! file_exists( $dir ) && ( + ( file_exists( $parent_dir ) && ! is_writable( $parent_dir ) ) || // parent exists but not writable + ( ! file_exists( $parent_dir ) && ! is_writable( dirname( $parent_dir ) ) ) // parent doesn't exist, grandparent not writable + ) ) ) { printf( '

%s

',