EE 2.7.2.
I have a secondary site on Multi Site Manager. Users can only login to EE from the main site, so I have no admin.php for the secondary site.
In the secondary site's index.php, I have:
$assign_to_config['site_name'] = 'secondary_site_name';
$assign_to_config['cp_url'] = 'http://primarysite.com/cp';
$assign_to_config['site_url'] = 'http://secondarysite.com';
However, when I go to Admin --> General Configuration for the secondary site, URL to the root directory of your site is still set to primarysite.com
How do I make this setting correct? Note: I will be adding additional sites later.