onokazu
onoka****@users*****
2005年 8月 13日 (土) 09:53:50 JST
Index: xoops2jp/html/modules/news/include/storyform.inc.php diff -u xoops2jp/html/modules/news/include/storyform.inc.php:1.5 xoops2jp/html/modules/news/include/storyform.inc.php:1.5.2.1 --- xoops2jp/html/modules/news/include/storyform.inc.php:1.5 Wed Aug 3 21:39:15 2005 +++ xoops2jp/html/modules/news/include/storyform.inc.php Sat Aug 13 09:53:50 2005 @@ -1,5 +1,5 @@ <?php -// $Id: storyform.inc.php,v 1.5 2005/08/03 12:39:15 onokazu Exp $ +// $Id: storyform.inc.php,v 1.5.2.1 2005/08/13 00:53:50 onokazu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -25,6 +25,9 @@ // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // // ------------------------------------------------------------------------ // +if (!defined('XOOPS_ROOT_PATH')) { + exit(); +} include XOOPS_ROOT_PATH."/class/xoopsformloader.php"; $sform = new XoopsThemeForm(_NW_SUBMITNEWS, "storyform", xoops_getenv('PHP_SELF')); $sform->addElement(new XoopsFormToken(XoopsMultiTokenHandler::quickCreate('news_submit')));