I'm running on my own "multi environment config" bootstrap file (https://github.com/madebymayo/ExpressionEngine-Environment-Config), but i've never used it with a site running on MSM (Multi Site Manager)
At first I ran in to the problem with the whole site not showing up, and giving me a 500 error. But I realised I hadn't added this:
$config['multiple_sites_enabled'] = "y";
So after adding this in, the site started to show this:
Site Error: Unable to Load Site Preferences; No Preferences Found
I've double checked my admin.php and index.php files are in each of my MSM folders.
Am I missing some sort of config hook to make my own config file work with a MSM site?
Any help would be great.