mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Turn off GZIP.
git-svn-id: https://develop.svn.wordpress.org/trunk@1740 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c72416ed6d
commit
4bec876932
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user