this should fix Travis
fix media config
make indexView dynamic, include real Kohana config