Instead, create the "/wp-content/advanced-cache.php" file with the following code:
- Code:
<?
if (file_exists (WP_CONTENT_DIR . "/cache/advanced-cache.php")) include_once(WP_CONTENT_DIR . "/cache/advanced-cache.php");
?>
This then allows you to offset the configuration to the writable (cache) folder, without putting the entire wp-content folder at significantly increased risk.
Then everywhere you're checking if that file (or the WP_CONTENT_DIR) is writable, check the cache folder and for the advanced-cache.php file within it. This also applies for the qcache-salt-ok.php and I believe that only the following files required changes:
quick-cache/includes/classes/advanced-cache.inc.php
quick-cache/includes/classes/auto-cache.inc.php
quick-cache/includes/classes/menu-pages.inc.phpStatistics: Posted by shawnkhall — March 8th, 2011, 1:25 am
]]>