From: Yves K. <yku...@us...> - 2004-10-25 00:43:29
|
Update of /cvsroot/phpwebsite-comm/modules/xwysiwyg/mod/xwysiwyg In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14488/modules/xwysiwyg/mod/xwysiwyg Added Files: index.php Log Message: Initial Revision --- NEW FILE: index.php --- <?php /** * Main switch for the xwysiwyg-module, all operations * pass though this switch. * * @version $Id: index.php,v 1.1 2004/10/25 00:43:19 ykuendig Exp $ */ if (!isset($GLOBALS['core'])){ header("location:../../"); exit(); } /* Check to see if xwysiwyg sessions is set and set it if it's not. */ if(!isset($_SESSION["PHPWS_xwysiwyg"])) { $_SESSION["PHPWS_xwysiwyg"] = new PHPWS_xwysiwyg; } $GLOBALS["CNT_xwysiwyg"] = array("title"=>NULL,"content"=>NULL); if(isset($_REQUEST['action']) && isset($_SESSION['PHPWS_xwysiwyg'])) { $_SESSION['PHPWS_xwysiwyg']->action(); } ?> |