Changeset 811678
- Timestamp:
- 11/28/2013 02:43:25 AM (12 years ago)
- File:
-
- 1 edited
-
tr-cache-and-security/trunk/cache.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tr-cache-and-security/trunk/cache.php
r787132 r811678 267 267 ' -->'; 268 268 269 //need optimize js & css here $buffer 270 if($tr_cache_options['optimize_js'] || $tr_cache_options['optimaze_css']) 271 { 272 //include(__DIR__.'/inc/tr_cache_class.php'); 273 //$buffer = 33; 274 $cache_obj = Tr_Cache_Class::instance(); 275 $buffer = $cache_obj->autoptimize_end($buffer); 276 } 277 269 278 $data['html'] = $buffer; 270 279 … … 320 329 { 321 330 global $tr_cache_options; 322 331 332 if(define('WP_MOBILE_SITE') && WP_MOBILE_SITE) 333 { 334 return '_mobile'; 335 } 323 336 if ($tr_cache_options['detect_mobile'] && $tr_cache_options['reject_agents']) { 324 337 $tr_cache_agent = strtolower($_SERVER['HTTP_USER_AGENT']);
Note: See TracChangeset
for help on using the changeset viewer.