Minahito
minah****@users*****
2006年 5月 24日 (水) 15:24:29 JST
Index: xoops2jp/html/header.php diff -u xoops2jp/html/header.php:1.6.2.1 xoops2jp/html/header.php:1.6.2.2 --- xoops2jp/html/header.php:1.6.2.1 Tue May 23 13:00:10 2006 +++ xoops2jp/html/header.php Wed May 24 15:24:29 2006 @@ -1,5 +1,5 @@ <?php -// $Id: header.php,v 1.6.2.1 2006/05/23 04:00:10 minahito Exp $ +// $Id: header.php,v 1.6.2.2 2006/05/24 06:24:29 minahito Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -30,6 +30,10 @@ } include_once XOOPS_ROOT_PATH.'/class/xoopsblock.php'; if ($xoopsConfig['theme_set'] != 'default' && file_exists(XOOPS_THEME_PATH.'/'.$xoopsConfig['theme_set'].'/theme.php')) { + // + // Fall back on simple protector of common.php by checking the constant that + // is defined in common.php + // if (!defined("XOOPS_CACHE_PATH")) { die(); }