ouzo
ouzo copied to clipboard
Cannot use Config in index.php
If Config::getValue() is invoked before Bootstrap#runApplication, then all config is overridden, which is unwanted behavior for getValue to override config,. It will possibly result in "No route found for" exception.,
You cannot now inject an object which uses Config in contructor.