When running MSM add-on, how can I manage the file upload folders etc, via a config.php file?
Ideally I would want to use a hook to do it, but it doesn't seem to work.
Normally I would do this:
$config['upload_preferences'] = array( 1 => array( 'name' => 'Images', 'server_path' => $uploads_path . "/images/", 'url' => $uploads_url . "/images/" ), 2 => array( 'name' => 'Files', 'server_path' => $uploads_path . "/files/", 'url' => $uploads_url . "/files/" ), 3 => array( 'name' => 'Icons', 'server_path' => $uploads_path . "/icons/", 'url' => $uploads_url . "/icons/" ) );