Commit 216b2cfb authored by sun's avatar sun

#333521 by sun: Fixed TinyMCE version detection docs.

parent af8246de
......@@ -6,6 +6,7 @@ Wysiwyg x.x-x.x, xxxx-xx-xx
Wysiwyg 6.x-x.x, xxxx-xx-xx
---------------------------
#333521 by sun: Fixed TinyMCE version detection docs.
#327100 by sun: Changed access permission for settings page to 'administer
filters' to prevent incomplete updates.
#322731 by sun: Fixed improper use of t() in module install file.
......
......@@ -79,8 +79,10 @@ function wysiwyg_tinymce_editor() {
* The installed editor version.
*/
function wysiwyg_tinymce_version($editor) {
// TinyMCE >= 3 uses changelog.txt.
$changelog = wysiwyg_get_path('tinymce') . '/changelog.txt';
if (!file_exists($changelog)) {
// TinyMCE < 3 uses changelog.
$changelog = wysiwyg_get_path('tinymce') . '/changelog';
}
$changelog = fopen($changelog, 'r');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment