NobuNobu
nobun****@users*****
2006年 12月 16日 (土) 23:10:30 JST
Index: xoops2jp/html/include/checklogin.php diff -u xoops2jp/html/include/checklogin.php:1.2.8.5.2.1 xoops2jp/html/include/checklogin.php:1.2.8.5.2.2 --- xoops2jp/html/include/checklogin.php:1.2.8.5.2.1 Sat Nov 18 17:44:09 2006 +++ xoops2jp/html/include/checklogin.php Sat Dec 16 23:10:30 2006 @@ -1,41 +1,21 @@ <?php /** - @package base - @deprecated + * + * @package Legacy + * @version $Id: checklogin.php,v 1.2.8.5.2.2 2006/12/16 14:10:30 nobunobu Exp $ + * @copyright Copyright 2005, 2006 XOOPSCube.org <http://xoopscube.org/> + * @license http://www.gnu.org/licenses/gpl.txt GNU GENERAL PUBLIC LICENSE Version 2 + * */ -// $Id: checklogin.php,v 1.2.8.5.2.1 2006/11/18 08:44:09 nobunobu Exp $ -// ------------------------------------------------------------------------ // -// XOOPS - PHP Content Management System // -// Copyright (c) 2005 XOOPS Cube.org // -// <http://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 // -// ------------------------------------------------------------------------ // +/*------------------------------------------------------------------------* + | This file was entirely rewritten by the XOOPS Cube Legacy project for | + | keeping compatibility with XOOPS 2.0.x <http://www.xoops.org> | + *------------------------------------------------------------------------*/ if (!defined('XOOPS_ROOT_PATH')) exit(); $root =& XCube_Root::getSingleton(); $root->mController->checkLogin(); -// // ToDo Add after care! -// - ?> Index: xoops2jp/html/include/common.php diff -u xoops2jp/html/include/common.php:1.4.8.15.2.4 xoops2jp/html/include/common.php:1.4.8.15.2.5 --- xoops2jp/html/include/common.php:1.4.8.15.2.4 Sat Nov 4 14:20:46 2006 +++ xoops2jp/html/include/common.php Sat Dec 16 23:10:30 2006 @@ -1,8 +1,16 @@ <?php /** + * * @package Legacy - * @version $Id: common.php,v 1.4.8.15.2.4 2006/11/04 05:20:46 nobunobu Exp $ + * @version $Id: common.php,v 1.4.8.15.2.5 2006/12/16 14:10:30 nobunobu Exp $ + * @copyright Copyright 2005, 2006 XOOPSCube.org <http://xoopscube.org/> + * @license http://www.gnu.org/licenses/gpl.txt GNU GENERAL PUBLIC LICENSE Version 2 + * */ +/*------------------------------------------------------------------------* + | This file was entirely rewritten by the XOOPS Cube Legacy project for | + | keeping compatibility with XOOPS 2.0.x <http://www.xoops.org> | + *------------------------------------------------------------------------*/ if (!defined('XOOPS_ROOT_PATH')) exit(); require_once XOOPS_ROOT_PATH . '/include/cubecore_init.php'; Index: xoops2jp/html/include/cp_header.php diff -u xoops2jp/html/include/cp_header.php:1.2.8.5.2.3 xoops2jp/html/include/cp_header.php:1.2.8.5.2.4 --- xoops2jp/html/include/cp_header.php:1.2.8.5.2.3 Sun Oct 15 00:37:28 2006 +++ xoops2jp/html/include/cp_header.php Sat Dec 16 23:10:30 2006 @@ -1,17 +1,19 @@ <?php /** + * * @package Legacy - * @version $Id: cp_header.php,v 1.2.8.5.2.3 2006/10/14 15:37:28 minahito Exp $ - * @deprecated This file was a shortcut for XOOPS2 developers who don't want to load header.php + * @version $Id: cp_header.php,v 1.2.8.5.2.4 2006/12/16 14:10:30 nobunobu Exp $ + * @copyright Copyright 2005, 2006 XOOPSCube.org <http://xoopscube.org/> + * @license http://www.gnu.org/licenses/gpl.txt GNU GENERAL PUBLIC LICENSE Version 2 + * */ +/*------------------------------------------------------------------------* + | This file was entirely rewritten by the XOOPS Cube Legacy project for | + | keeping compatibility with XOOPS 2.0.x <http://www.xoops.org> | + *------------------------------------------------------------------------*/ -if (!defined('XOOPS_ROOT_PATH')) { - require_once "../../../mainfile.php"; -} - -if (!defined('XOOPS_CPFUNC_LOADED')) { - require_once XOOPS_ROOT_PATH . "/include/cp_functions.php"; -} +if (!defined('XOOPS_ROOT_PATH')) require_once "../../../mainfile.php"; +if (!defined('XOOPS_CPFUNC_LOADED')) require_once XOOPS_ROOT_PATH . "/include/cp_functions.php"; // // [Special Mission] Additional CHECK!! Index: xoops2jp/html/include/cubecore_init.php diff -u xoops2jp/html/include/cubecore_init.php:1.1.2.1 xoops2jp/html/include/cubecore_init.php:1.1.2.2 --- xoops2jp/html/include/cubecore_init.php:1.1.2.1 Sat Nov 4 14:20:46 2006 +++ xoops2jp/html/include/cubecore_init.php Sat Dec 16 23:10:30 2006 @@ -1,15 +1,15 @@ <?php /** + * * @package Legacy - * @version $Id: cubecore_init.php,v 1.1.2.1 2006/11/04 05:20:46 nobunobu Exp $ + * @version $Id: cubecore_init.php,v 1.1.2.2 2006/12/16 14:10:30 nobunobu Exp $ + * @copyright Copyright 2005, 2006 XOOPSCube.org <http://xoopscube.org/> + * @license http://www.gnu.org/licenses/gpl.txt GNU GENERAL PUBLIC LICENSE Version 2 + * */ -// -// Prohibition of a direct kick -// -if (!defined("XOOPS_MAINFILE_INCLUDED")) { - die(); -} +if (!defined("XOOPS_MAINFILE_INCLUDED")) exit(); + /** * This constant is the sign which this system is XOOPS Cube, for module Index: xoops2jp/html/include/session.php diff -u xoops2jp/html/include/session.php:1.3.2.1.2.4 xoops2jp/html/include/session.php:1.3.2.1.2.5 --- xoops2jp/html/include/session.php:1.3.2.1.2.4 Sun Dec 3 16:44:54 2006 +++ xoops2jp/html/include/session.php Sat Dec 16 23:10:30 2006 @@ -1,7 +1,14 @@ <?php -if (!defined('XOOPS_ROOT_PATH')) { - exit(); -} +/** + * + * @package Legacy + * @version $Id: session.php,v 1.3.2.1.2.5 2006/12/16 14:10:30 nobunobu Exp $ + * @copyright Copyright 2005, 2006 XOOPSCube.org <http://xoopscube.org/> + * @license http://www.gnu.org/licenses/gpl.txt GNU GENERAL PUBLIC LICENSE Version 2 + * + */ + +if (!defined('XOOPS_ROOT_PATH')) exit(); if (!function_exists('session_regenerate_id')) { if (!defined('XOOPS_SALT')) {