/** * @see http://php.net/manual/es/function.mime-content-type.php#107798 */ public static function mimeTypesUpdate() { $url = 'http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types'; $modPath = driverCommand::getModPath('pharinix_mod_file_manager'); @file_put_contents($modPath . 'assets/mimetypes.txt', @file_get_contents($url)); self::$mimeTypes = array(); }