Allow uploads of any file extension in Magento

In /app/code/local/Company/Extension/etc/config.xml add the following

<adminhtml>
	<cms>
		<browser>
			<extensions>
				<allowed>
					<zip>1</zip>
					<pdf>1</pdf>
				</allowed>
				<image_allowed>
					<zip>1</zip>
					<pdf>1</pdf>
				</image_allowed>
				<media_allowed>
					<zip>1</zip>
					<pdf>1</pdf>
				</media_allowed>
			</extensions>
		</browser>
	</cms>
</adminhtml>

 

Gareth
Buy Me A Coffee
back arrowBack to Index