* @copyright (C) 2015-2018, Giuseppe Di Terlizzi */ if (!defined('DOKU_INC')) define('DOKU_INC', dirname(__FILE__).'/../../../../'); define('DOKU_MEDIAMANAGER', 1); // needed to get proper CSS/JS global $lang; global $conf; global $JSINFO; require_once(DOKU_INC.'inc/init.php'); require_once(DOKU_INC.'inc/template.php'); require_once(DOKU_INC.'inc/lang/en/lang.php'); require_once(DOKU_INC.'inc/lang/'.$conf['lang'].'/lang.php'); $JSINFO['id'] = ''; $JSINFO['namespace'] = ''; $tmp = array(); trigger_event('MEDIAMANAGER_STARTED', $tmp); session_write_close(); //close session $icons_plugin = plugin_load('action','icons'); $use_font_awesome = $icons_plugin->getConf('loadFontAwesome'); $use_material_icons = $icons_plugin->getConf('loadMaterialIcons'); $use_typicons = $icons_plugin->getConf('loadTypicons'); $use_font_linux = $icons_plugin->getConf('loadFontlinux'); $use_rpg_awesome = $icons_plugin->getConf('loadRpgAwesome'); $use_glyphicons = false; # Load Bootstrap3 Template assets if ($conf['template'] == 'bootstrap3') { include_once(DOKU_INC.'lib/tpl/bootstrap3/tpl_functions.php'); include_once(DOKU_INC.'lib/tpl/bootstrap3/tpl_global.php'); # Glyphicons if bundled into Bootstrap 3.x $use_glyphicons = true; } $list_material_icons = include(dirname(__FILE__) . '/list-material-icons.php'); $list_font_awesome = include(dirname(__FILE__) . '/list-font-awesome.php'); $list_glyphicon = include(dirname(__FILE__) . '/list-glyphicon.php'); $list_typicons = include(dirname(__FILE__) . '/list-typicons.php'); $list_font_linux = include(dirname(__FILE__) . '/list-font-linux.php'); $list_rpg_awesome = include(dirname(__FILE__) . '/list-rpg-awesome.php'); header('Content-Type: text/html; charset=utf-8'); header('X-UA-Compatible: IE=edge,chrome=1'); ?>