Commit: 39da387156c1265fc583e4cfbac02be1c0d3a144

Author: gwoo | Date: 2010-02-16 08:43:53 -0800
updating asset filter
diff --git a/config/bootstrap.php b/config/bootstrap.php index 452813c..15a380b 100644 --- a/config/bootstrap.php +++ b/config/bootstrap.php @@ -23,7 +23,7 @@ Dispatcher::applyFilter('_callable', function($self, $params, $chain) { return function () use ($asset) { $info = pathinfo($asset); $type = Media::type($info['extension']); - header("Content-type: {$type}"); + header("Content-type: {$type['content']}"); return file_get_contents($asset); }; }