Bootstrap is for being ready to start the service .
Bootstrap is located in application directory as bootstrap.php file.
Bascially Bootstrap has some defined functions which are minimum options to start the service.
This bootstrap is very simple however it should porvide more convenient to setup for multi-server based service.
Setup the configure environment dynamically from the url
if($_SERVER["SERVER_NAME"] == "development") {
Thule_Config::setConfig("configure.ini","development","ini"); // configure-file , server stage , configure-type
// profile setting
Thule_Profile::set();
// debug popup TRUE or FALSE
Thule_Profile::debug(TRUE);
// error_reporting
error_reporting(Thule_Config::get('error_reporting'));
} else {
Thule_Config::setConfig("configure.ini","production","ini"); // configure-file , server stage , configure-type
}