installed plugin W3 Total Cache
version 2.3.2
This commit is contained in:
@ -0,0 +1,26 @@
|
||||
<?php
|
||||
namespace W3TC;
|
||||
|
||||
/**
|
||||
* Minify rules generation for LiteSpeed
|
||||
*/
|
||||
class Minify_Environment_LiteSpeed {
|
||||
private $c;
|
||||
|
||||
|
||||
|
||||
public function __construct( $config ) {
|
||||
$this->c = $config;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// force rewrites to work in order to get minify a chance to generate content
|
||||
public function w3tc_browsercache_rules_section( $section_rules, $section ) {
|
||||
if ( $section == 'cssjs' ) {
|
||||
$section_rules['rewrite'] = true;
|
||||
}
|
||||
|
||||
return $section_rules;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user