1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 20:57:26 +02:00

#614 - Temporary fix for TinyMCE4 not showing with PHP 5.3

This commit is contained in:
Moc
2014-06-27 12:19:41 +02:00
parent 38b8d247fa
commit 072eeb565e

View File

@@ -99,7 +99,7 @@ class wysiwyg
$this->getConfig($config);
$text .= "\n /* TinyMce Config: ".$this->configName." */\n\n";
$text .= "tinymce.init(";
$text .= json_encode($this->config, JSON_PRETTY_PRINT);
$text .= json_encode($this->config); // Moc: temporary fix for BC with PHP 5.3: https://github.com/e107inc/e107/issues/614
$text .= ");";
return stripslashes($text);