mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Tinymce now checks for templates in THEME folder.
This commit is contained in:
@@ -230,7 +230,8 @@ class wysiwyg
|
|||||||
$template = "public.xml";
|
$template = "public.xml";
|
||||||
}
|
}
|
||||||
|
|
||||||
$config = e107::getXml()->loadXMLfile(e_PLUGIN."tinymce/templates/".$template,true); //TODO System and theme folder checks for overrides.
|
$configPath = (is_readable(THEME."templates/tinymce/".$template)) ? THEME."templates/tinymce/".$template : e_PLUGIN."tinymce/templates/".$template;
|
||||||
|
$config = e107::getXml()->loadXMLfile($configPath, true);
|
||||||
|
|
||||||
|
|
||||||
//TODO Cache!
|
//TODO Cache!
|
||||||
|
Reference in New Issue
Block a user