<?
//Application entry point
define('ROOT', dirname(__FILE__));

include(ROOT.'/lib/autoload.php');
include(ROOT.'/vendor/autoload.php');

if($config['env'] == 'dev'){
	include(ROOT.'/assets/css.php');
	include(ROOT.'/assets/js.php');
}

routeRequest();
?>
<?
//Application entry point
ob_start();

define('ROOT', dirname(__FILE__));

include(ROOT.'/lib/autoload.php');
include(ROOT.'/vendor/autoload.php');

if($config['env'] == 'dev'){
	include(ROOT.'/assets/css.php');
	include(ROOT.'/assets/js.php');
}

routeRequest();
ob_end_flush();
?>

Add output buffering so we have option to send headers later on
Add output buffering so we have option to send headers later on
