View.php
public static function generateUpToDateMimeArray(): void
    {
        \defined('APACHE_MIME_TYPES_URL') OR \define('APACHE_MIME_TYPES_URL', 'http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types');
        $s = array();
        foreach (@explode("\n", @file_get_contents(APACHE_MIME_TYPES_URL)) as $x) {
            if (isset($x[0]) && $x[0] !== '#' && preg_match_all('#([^\s]+)#', $x, $out) && isset($out[1]) && ($c = count($out[1])) > 1) {
                for ($i = 1; $i < $c; $i++) {
                    $s[] = '&nbsp;&nbsp;&nbsp;\'' . $out[1][$i] . '\' => \'' . $out[1][0] . '\'';
                }
            }
        }
        print @sort($s) ? 'return array(<br />' . implode($s, ',<br />') . '<br />);' : false;
    }
public static function generateUpToDateMimeArray(): void
    {
        \defined('APACHE_MIME_TYPES_URL') OR \define('APACHE_MIME_TYPES_URL', 'http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types');
        $s = array();
        foreach (@explode("\n", @file_get_contents(APACHE_MIME_TYPES_URL)) as $x) {
            if (isset($x[0]) && $x[0] !== '#' && preg_match_all('#([^\s]+)#', $x, $out) && isset($out[1]) && ($c = count($out[1])) > 1) {
                for ($i = 1; $i < $c; $i++) {
                    $s[] = '&nbsp;&nbsp;&nbsp;\'' . $out[1][$i] . '\' => \'' . $out[1][0] . '\'';
                }
            }
        }
        print @sort($s) ? 'return array(<br />' . implode($s, ',<br />') . '<br />);' : false;
    }
Josh Sean