Adding App::init() to bootstrap App now that its static.

This commit is contained in:
mark_story 2010-07-10 11:40:06 -04:00
parent d28f7f4144
commit a04c87c42a

View file

@ -383,6 +383,7 @@ class Configure {
} }
Cache::config('default'); Cache::config('default');
} }
App::init();
App::build(); App::build();
if (!include(CONFIGS . 'bootstrap.php')) { if (!include(CONFIGS . 'bootstrap.php')) {
trigger_error(sprintf(__("Can't find application bootstrap file. Please create %sbootstrap.php, and make sure it is readable by PHP."), CONFIGS), E_USER_ERROR); trigger_error(sprintf(__("Can't find application bootstrap file. Please create %sbootstrap.php, and make sure it is readable by PHP."), CONFIGS), E_USER_ERROR);
@ -1233,4 +1234,4 @@ class App {
Cache::write('object_map', self::$__objects, '_cake_core_'); Cache::write('object_map', self::$__objects, '_cake_core_');
} }
} }
} }