I have problems: I have an MSM site, both on intermediate and live servers. I am developing a secondary site and just switched to a live server. It is strange that it cannot connect to db. My boot config has this if statement:
if($_SERVER['HTTP_HOST'] == 'www.domain.com' || $_SERVER['HTTP_HOST'] == 'en.domain.com')
This does not look right because ExpressionEngine cannot load site settings. So, to check, I created a simple php file on a subdomain that just echoes $_SERVER['HTTP_HOST'] and displays en.domain.com. So why is this evaluated correctly in PHP, but not in ExpressionEngine? Any thoughts?
source share