You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 27, 2023. It is now read-only.
In current implementation i can not create my own application with for example class ApiApplication because of application creation is hardcoded as web/console, i suggest to check the second param of Initializer::create(), and if it is an array then first element of it must be application class, and second one is config.
Small changes are also needed here: https://github.com/2amigos/yiinitializr/blob/master/Helpers/Initializer.php#L41
So, overall the end version can be like this in index.php:
In current implementation i can not create my own application with for example class
ApiApplicationbecause of application creation is hardcoded as web/console, i suggest to check the second param ofInitializer::create(), and if it is an array then first element of it must be application class, and second one is config.Small changes are also needed here:
https://github.com/2amigos/yiinitializr/blob/master/Helpers/Initializer.php#L41
So, overall the end version can be like this in index.php: