Trying to pre-configure file upload directories in my config file (suggested in the docs) but only the first item in the array appears in the CP.
Is this a limitation? I guess I can live with creating the second entry in the CP as long as it’s always overwritten by the config file. But maybe there’s something I’m doing wrong.
This is the array in my config file:
$config['upload_preferences'] = array(
1 => array(
'name' => 'work images',
'server_path' => $config['server_path'].'/images/work/',
'url' => $config['site_url'].'/images/work/'
),
2 => array(
'name' => 'photos',
'server_path' => $config['server_path'].'/images/photos/',
'url' => $config['site_url'].'/images/photos/'
)
);