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