Turn off GZIP.

git-svn-id: https://develop.svn.wordpress.org/trunk@1740 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-10-04 08:59:01 +00:00
parent c72416ed6d
commit 4bec876932

View File

@ -11,6 +11,8 @@ Author URI: http://photomatt.net/
$http = false; // This controls whether we send etag and last-modified headers or not
define(CACHE_PATH, trailingslashit( ABSPATH . 'wp-content/staticize-cache' ) );
update_option('gzipcompression', 0);
if ( !file_exists(CACHE_PATH) ) :
if ( is_writable( dirname(CACHE_PATH) ) )
$dir = mkdir( CACHE_PATH, 0777);