1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 15:46:44 +02:00

Fixes #4706 'quote' bbcode in TinyMce and fixes fatal error under PHP 8.1 (LAN_WROTE)

This commit is contained in:
Cameron
2022-03-29 13:59:25 -07:00
parent 0c14d6d3f5
commit f922456a8f
3 changed files with 9 additions and 5 deletions

View File

@@ -117,6 +117,11 @@ TEMPL;
$fa = e107::getTheme()->getFontAwesome(); // get the frontend theme's fontawesome version.
$tp->setFontAwesome($fa);
if(!defined('BOOTSTRAP') && ($bs = e107::getTheme()->getLibVersion('bootstrap')))
{
define('BOOTSTRAP', (int) $bs);
}
$content = stripslashes($content);
// $content = e107::getBB()->htmltoBBcode($content); //XXX This breaks inserted images from media-manager. :/