Minahito
minah****@users*****
2006年 8月 9日 (水) 18:33:46 JST
Index: xoops2jp/html/include/common.php diff -u xoops2jp/html/include/common.php:1.4.8.14 xoops2jp/html/include/common.php:1.4.8.15 --- xoops2jp/html/include/common.php:1.4.8.14 Thu Jul 13 19:59:24 2006 +++ xoops2jp/html/include/common.php Wed Aug 9 18:33:46 2006 @@ -1,29 +1,8 @@ <?php -// $Id: common.php,v 1.4.8.14 2006/07/13 10:59:24 minahito Exp $ -// ------------------------------------------------------------------------ // -// XOOPSCube - PHP Content Management System // -// Copyright (c) 2005 XOOPS Cube.org // -// <http://www.xoopscube.org/> // -// ------------------------------------------------------------------------ // -// This program is free software; you can redistribute it and/or modify // -// it under the terms of the GNU General Public License as published by // -// the Free Software Foundation; either version 2 of the License, or // -// (at your option) any later version. // -// // -// You may not change or alter any portion of this comment or credits // -// of supporting developers from this source code or any supporting // -// source code which is considered copyrighted (c) material of the // -// original comment or credit authors. // -// // -// This program is distributed in the hope that it will be useful, // -// but WITHOUT ANY WARRANTY; without even the implied warranty of // -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // -// GNU General Public License for more details. // -// // -// You should have received a copy of the GNU General Public License // -// along with this program; if not, write to the Free Software // -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// ------------------------------------------------------------------------ // +/** + * @package Legacy + * @version $Id: common.php,v 1.4.8.15 2006/08/09 09:33:46 minahito Exp $ + */ // // Prohibition of a direct kick @@ -32,6 +11,12 @@ die(); } +/** + * This constant is the sign which this system is XOOPS Cube, for module + * developers. + */ +define('XOOPS_CUBE_LEGACY', true); + require_once XOOPS_ROOT_PATH . "/kernel/XCube_Root.class.php"; require_once XOOPS_ROOT_PATH . "/kernel/XCube_Controller.class.php";