20 defined(
'XOOPS_ROOT_PATH') or die('Restricted access');
22 if (! function_exists('xoopseditor_get_rootpath')) {
23 function xoopseditor_get_rootpath()
25 return XOOPS_ROOT_PATH .
'/class/xoopseditor';
28 if (defined(
'XOOPS_ROOT_PATH')) {
32 $mainfile = dirname(dirname(dirname(__FILE__))) .
'/mainfile.php';
37 return defined(
'XOOPS_ROOT_PATH');