read upload configuration from config.php