array(GESHI LANGUAGE, EXTERNAL MIME TYPE, REQUIRES DOWNLOAD) // // EXTENSION = the extension of the file, sans period (.) // GESHI LANGUAGE = language file that GeSHi syntax highlighter should use when displyaing this file; // not specifying this will result in plain text // EXTERNAL MIME TYPE = if the file isn't source code, but an image, zip, or other type of binary file, // what MIME-type should be sent when viewing the file? // note: if you specify this for non-binary files, it will do weird things // REQUIRES DOWNLOAD = some binary files, like images, can be displayed inline; however ZIP files and other // binary files that can't be displayed inline should have this set to TRUE so that // a link will be displayed to allow the user to download the file define('MIMES_GESHI_LANGUAGE', 0); define('MIMES_EXTERNAL_MIME', 1); define('MIMES_REQUIRES_DOWNLOAD', 2); $filetypes = array( 'php' => array('php', '', false), 'htm' => array('html4strict', '', false), 'html' => array('html4strict', '', false), 'tpl' => array('html4strict', '', false), 'sql' => array('sql', '', false), 'xml' => array('xml', '', false), 'js' => array('javascript', '', false), 'h' => array('c', '', false), 'c' => array('c', '', false), 'cpp' => array('c', '', false), 'm' => array('objc', '', false), 'css' => array('css', '', false), 'java' => array('java', '', false), 'diff' => array('diff', '', false), 'patch' => array('diff', '', false), 'rb' => array('ruby', '', false), 'ini' => array('ini', '', false), 'sh' => array('bash', '', false), 'asp' => array('asp', '', false), 'pl' => array('perl', '', false), 'py' => array('python', '', false), 'cgi' => array('pl', '', false), 'cs' => array('csharp', '', false) ); /*=====================================================================*\ || ################################################################### || # $HeadURL$ || # $Id$ || ################################################################### \*=====================================================================*/ ?>