Skip to content

Instantly share code, notes, and snippets.

View danpoltawski's full-sized avatar

Dan Poltawski danpoltawski

View GitHub Profile
@danpoltawski
danpoltawski / testicons.php
Created June 21, 2012 10:27 — forked from marinaglancy/testicons.php
Script to test icons and mimetype stings in Moodle 2.3
<?php
require_once('config.php');
require_once($CFG->libdir .'/filelib.php');
$PAGE->set_context(get_system_context());
$mimeicons = get_mimetypes_array();
?>
<style>