1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 03:40:37 +02:00

TinyMce Image align left/right parsing fix.

This commit is contained in:
Cameron
2018-08-22 08:12:32 -07:00
parent 1f69d7cd0a
commit 7e4f22c80d
2 changed files with 4 additions and 4 deletions

View File

@@ -8,7 +8,7 @@
*/
if(empty($_POST['content']) && empty($_GET['debug']) && !defined('TINYMCE_DEBUG'))
if(empty($_POST['content']) && empty($_GET['debug']) && !defined('TINYMCE_DEBUG') && !defined('TINYMCE_UNIT_TEST'))
{
header('Content-Length: 0');
exit;
@@ -20,7 +20,7 @@ $_E107['no_forceuserupdate'] = true;
$_E107['no_maintenance'] = true;
define('e_ADMIN_AREA', true);
if(!defined('TINYMCE_DEBUG'))
if(!defined('TINYMCE_DEBUG') && !defined('TINYMCE_UNIT_TEST'))
{
require_once("../../../../class2.php");
}
@@ -44,7 +44,7 @@ class e107TinyMceParser
{
$html = '';
if(defined('TINYMCE_DEBUG'))
if(defined('TINYMCE_DEBUG') || defined('TINYMCE_UNIT_TEST'))
{
$this->gzipCompression = false;
}