Changeset 270 in t29-www
- Timestamp:
- Jun 1, 2012, 7:29:04 PM (12 years ago)
- Location:
- lib
- Files:
-
- 2 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); -
lib/ressourceloader.php
r269 r270 1 1 <?php 2 2 /** 3 * t29R EssourceLoader classes.3 * t29RessourceLoader classes. 4 4 * This file behaves to loader.php like template.php behaves to technikum29.php. 5 5 * … … 104 104 global $lib; 105 105 require "$lib/CSSMin.php"; 106 return "foo"; 106 107 # compression: 40kb to 16kb 107 108 $minified = CSSMin::minify($code); 108 109 return $this->conf['header'] . $minified;
Note: See TracChangeset
for help on using the changeset viewer.