path('sys'))); /** * Register all of the bundles that are defined in the bundle info * file within the bundles directory. This informs the framework * where the bundle lives and which URIs it responds to. */ $bundles = require path('bundle').'bundles'.EXT; foreach ($bundles as $bundle => $value) { if (is_numeric($bundle)) $bundle = $value; Bundle::register($bundle, $value); } /** * Register the default timezone for the application. This will * be the default timezone used by all date functions through * throughout the entire application. */ date_default_timezone_set(Config::get('application.timezone'));