later
Peter Molnar hello@petermolnar.eu
Thu, 02 Jul 2015 11:17:50 +0100
1 files changed,
1 insertions(+),
6 deletions(-)
jump to
M
wp-ffpc-class.php
→
wp-ffpc-class.php
@@ -988,12 +988,7 @@ *
*/ private function deploy_advanced_cache( ) { - /* in case advanced-cache.php was already there, remove it */ - if ( @file_exists( $this->acache )) - unlink ($this->acache); - - /* is deletion was unsuccessful, die, we have no rights to do that, fail */ - if ( @file_exists( $this->acache )) + if ( @is_writable( $this->acache )) return false; /* if no active site left no need for advanced cache :( */