preInit() public method
Pre-initializes the application.
This method is called at the beginning of the application constructor. It initializes several important application properties. If you override this method, please make sure you call the parent implementation.
public void preInit ( &$config ) | ||
---|---|---|
$config | array |
The application configuration |
throws | yii\base\InvalidConfigException |
Please login to continue.