1
Xoops 2.0.x SPAW 1.4 as module.
/news/admin/storyform.inc
if ( !preg_match("/index.php/", $HTTP_SERVER_VARS['PHP_SELF']) ) {
exit("Access Denied");
}
include XOOPS_ROOT_PATH."/include/xoopscodes.php";
$module_handler = &xoops_gethandler('module');$module = &$module_handler->getByDirname('spaw');if (is_object($module) && $module->getVar('isactive')){ include_once XOOPS_ROOT_PATH . "/modules/spaw/spaw_control.class.php";}
if(!isset($submit_page)){
$submit_page = $HTTP_SERVER_VARS['PHP_SELF'];
}
?>
/news/admin/storyform.inc
if ( !preg_match("/index.php/", $HTTP_SERVER_VARS['PHP_SELF']) ) {
exit("Access Denied");
}
include XOOPS_ROOT_PATH."/include/xoopscodes.php";
$module_handler = &xoops_gethandler('module');$module = &$module_handler->getByDirname('spaw');if (is_object($module) && $module->getVar('isactive')){ include_once XOOPS_ROOT_PATH . "/modules/spaw/spaw_control.class.php";}
if(!isset($submit_page)){
$submit_page = $HTTP_SERVER_VARS['PHP_SELF'];
}
?>