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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user