$app->configureMode($app->config('mode'), function() use ($app) { $app->config = config::load(INC_ROOT . "/app/config/{$app->mode}.php")