Minahito
minah****@users*****
2006年 5月 23日 (火) 13:00:10 JST
Index: xoops2jp/html/header.php diff -u xoops2jp/html/header.php:1.6 xoops2jp/html/header.php:1.6.2.1 --- xoops2jp/html/header.php:1.6 Mon May 1 11:37:26 2006 +++ xoops2jp/html/header.php Tue May 23 13:00:10 2006 @@ -1,5 +1,5 @@ <?php -// $Id: header.php,v 1.6 2006/05/01 02:37:26 onokazu Exp $ +// $Id: header.php,v 1.6.2.1 2006/05/23 04:00:10 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')) { + if (!defined("XOOPS_CACHE_PATH")) { + die(); + } + // the old way.. $xoopsOption['theme_use_smarty'] = 0; if (file_exists(XOOPS_THEME_PATH.'/'.$xoopsConfig['theme_set'].'/language/lang-'.$xoopsConfig['language'].'.php')) {