/**
* Returns a booted version of the app.
*
* @return \PinkCrab\Perique\Application\App
*/
public function boot(): App {
// Sets default settings if not already set.
if ( ! $this->app->has_app_config() ) {
$this->app_config( $this->default_config_paths() );
}
return $this->app->boot();
}
As we are passing the plugins base path to the App_Factory, we can also correctly set the App_Config path and url args.
requires a small change to
App_Factory::boot()