mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
issue 2553 add a variable of gzhandler_enable. because of not use gzip encoding in a sydication module.
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11718 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
86fb52cb72
commit
88e17793da
2 changed files with 4 additions and 1 deletions
|
|
@ -27,7 +27,8 @@
|
|||
(defined('__OB_GZHANDLER_ENABLE__') && __OB_GZHANDLER_ENABLE__ == 1) &&
|
||||
strpos($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')!==false &&
|
||||
function_exists('ob_gzhandler') &&
|
||||
extension_loaded('zlib')
|
||||
extension_loaded('zlib') &&
|
||||
$oModule->gzhandler_enable
|
||||
) $this->gz_enabled = true;
|
||||
// Extract contents to display by the request method
|
||||
if(Context::get('xeVirtualRequestMethod')=='xml') {
|
||||
|
|
|
|||
|
|
@ -30,6 +30,8 @@
|
|||
var $module_config = NULL;
|
||||
var $ajaxRequestMethod = array('XMLRPC', 'JSON');
|
||||
|
||||
var $gzhandler_enable = TRUE;
|
||||
|
||||
/**
|
||||
* setter to set the name of module
|
||||
* @param string $module name of module
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue