set($config); # remove this if you wish to see the normal PHP error view. //include $config['BASE_PATH'] . 'diagnostic/debug.php'; # database usage //Doo::useDbReplicate(); #for db replication master-slave usage //Doo::db()->setMap($dbmap); Doo::db()->setDb($dbconfig, $config['APP_MODE']); Doo::db()->sql_tracking = False; #for debugging/profiling purpose Doo::app()->route = $route; # Uncomment for DB profiling //Doo::logger()->beginDbProfile('doowebsite'); // Doo::cache('front')->start(); Doo::app()->run(); // Doo::cache('front')->end(); //Doo::logger()->endDbProfile('doowebsite'); //Doo::logger()->rotateFile(20); //Doo::logger()->writeDbProfiles(); ?>