Changeset 270 in t29-www for lib/cache.php
- Timestamp:
- Jun 1, 2012, 7:29:04 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/cache.php
r265 r270 207 207 use($register_shutdown_func, $shutdown_func_is_filter, $t) { 208 208 if($shutdown_func_is_filter) { 209 $content = ob_get_ flush();209 $content = ob_get_clean(); 210 210 if($t->debug) 211 211 // can print output since OutputBuffering is finished 212 212 print 't29Cache: Applying user filter to output' . PHP_EOL; 213 $t->write_cache(call_user_func($register_shutdown_func, $content)); 213 $content = call_user_func($register_shutdown_func, $content); 214 print $content; 215 $t->write_cache($content); 214 216 } else { 215 217 call_user_func($register_shutdown_func);
Note: See TracChangeset
for help on using the changeset viewer.