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); }