Turn off GZIP.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-10-04 08:59:01 +00:00
parent 69e0975c2f
commit f14cb06856
1 changed files with 2 additions and 0 deletions

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);