MediaWiki:LocalSettings.php

$wgEnableUploads = true;