Turn off GZIP.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
69e0975c2f
commit
f14cb06856
|
@ -11,6 +11,8 @@ Author URI: http://photomatt.net/
|
||||||
$http = false; // This controls whether we send etag and last-modified headers or not
|
$http = false; // This controls whether we send etag and last-modified headers or not
|
||||||
define(CACHE_PATH, trailingslashit( ABSPATH . 'wp-content/staticize-cache' ) );
|
define(CACHE_PATH, trailingslashit( ABSPATH . 'wp-content/staticize-cache' ) );
|
||||||
|
|
||||||
|
update_option('gzipcompression', 0);
|
||||||
|
|
||||||
if ( !file_exists(CACHE_PATH) ) :
|
if ( !file_exists(CACHE_PATH) ) :
|
||||||
if ( is_writable( dirname(CACHE_PATH) ) )
|
if ( is_writable( dirname(CACHE_PATH) ) )
|
||||||
$dir = mkdir( CACHE_PATH, 0777);
|
$dir = mkdir( CACHE_PATH, 0777);
|
||||||
|
|
Loading…
Reference in New Issue