src/AbstractUpload.php
private static function areFileUploadsEnabled() {
		if (self::parseIniBoolean(\ini_get('file_uploads')) === false) {
			return false;
		}

		if (((int) \ini_get('max_file_uploads')) <= 0) {
			return false;
		}

		return true;
	}
private static function areFileUploadsEnabled() {
		if (self::parseIniBoolean(\ini_get('file_uploads')) === false) {
			return false;
		}

		if (((int) \ini_get('max_file_uploads')) <= 0) {
			return false;
		}

		return true;
	}
private static function areFileUploadsEnabled ( ) { if ( self :: parseIniBoolean ( \ ini_get ( 'file_uploads' ) ) === false ) { return false ; } if ( ( ( int ) \ ini_get ( 'max_file_uploads' ) ) <= 0 ) { return false ; } return true ; }
Returns whether file uploads are enabled as per PHP's configuration

@return bool
Returns whether file uploads are enabled as per PHP s configuration