I'm using FocusLab MasterConfig to set my upload preferences but strangely only the name of the Upload preference gets set by my code. Here is the code in config.master.php
$resources_folder = 'resources';
$resources_path = $base_path . DIRECTORY_SEPARATOR . $resources_folder;
$resources_url = $base_url . '/' . $resources_folder;
$env_config['upload_preferences'] = array(
7 => array(
'name' => 'Landing Page Banners',
'server_path' => $resources_path . '/images/banners/landing/',
'url' => $images_url . '/images/banners/landing/'
),
8 => array(
'name' => 'Home Page Banners',
'server_path' => $resources_path . '/images/banners/home/',
'url' => $images_url . '/images/banners/home/'
));
Anyone know why the server_path and url (which are the important values) have no effect on the values shown in the CP?