I have the auth.php file being called from my ‘Gateway’ web app.
This will check the domain and make sure the user is logged in and has access. Once they are The Gateway app should allow them through to the main app. At the minute Yii is loaded still when the main app is called and this is calling me issues.
I need to be able to continue with the page load to the main app as if the Gateway app was never loaded.
I cant exit or the main app will never load.
If i try and let the main app load after not destroying reference to the Gateway all. Otherwise I will end up with error like: Yii application can only be created once.
And other problems with projects created in zend etc.