Commit: 21c791b009551de07568894633959878e9acd38c
Author: gwoo | Date: 2010-01-22 16:48:44 -0800
diff --git a/config/bootstrap.php b/config/bootstrap.php
index fd89dfc..b294278 100644
--- a/config/bootstrap.php
+++ b/config/bootstrap.php
@@ -9,4 +9,12 @@
// )
// ));
+use \lithium\http\Media;
+use \lithium\g11n\Message;
+
+Media::applyFilter('_handle', function($self, $params, $chain) {
+ $params['handler'] += array('outputFilters' => array());
+ $params['handler']['outputFilters'] += Message::contentFilters();
+ return $chain->next($self, $params, $chain);
+});
?>
\ No newline at end of file