1
0
mirror of https://github.com/e107inc/e107.git synced 2025-02-13 11:04:38 +01:00
2012-04-30 20:35:59 +00:00

37 lines
570 B
PHP

<?php
/*
* e107 website system
*
* Copyright (C) 2008-2009 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
*
*
* $URL$
* $Id$
*/
if (!defined('e107_INIT')) { exit; }
if(e_WYSIWYG || strpos(e_SELF,"tinymce/admin_config.php") )
{
require_once(e_PLUGIN."tinymce/wysiwyg.php");
if(deftrue('TINYMCE_CONFIG'))
{
$wy = new wysiwyg(TINYMCE_CONFIG);
}
else
{
$wy = new wysiwyg();
}
if(!strpos(e_SELF,e_ADMIN_ABS."image.php"))
{
$wy -> render();
}
}
?>