aboutsummaryrefslogtreecommitdiff
path: root/mod/tinymce/start.php
blob: 47bb627a6aa715d18783eb1a25620eeaff88f491 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
/**
 * TinyMCE wysiwyg editor
 *
 * @package TinyMCE
 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
 * @author Curverider Ltd
 * @copyright Curverider Ltd 2008-2010
 * @link http://elgg.org/
 **/

function tinymce_init() {
	global $CONFIG;

	elgg_extend_view('css', 'tinymce/css');
	//set_view_location('embed/addcontentjs', $CONFIG->pluginspath . 'tinymce/views/');
}

register_elgg_event_handler('init', 'system', 'tinymce_init', 9999);