[xoops-cvslog 3122] CVS update: xoops2jp/html

Back to archive index

Minahito minah****@users*****
2006年 5月 24日 (水) 14:42:55 JST


Index: xoops2jp/html/index.php
diff -u xoops2jp/html/index.php:1.2 xoops2jp/html/index.php:1.2.18.1
--- xoops2jp/html/index.php:1.2	Fri Mar 18 21:51:55 2005
+++ xoops2jp/html/index.php	Wed May 24 14:42:55 2006
@@ -1,5 +1,5 @@
-<?php
-// $Id: index.php,v 1.2 2005/03/18 12:51:55 onokazu Exp $
+Gu<?php
+// $Id: index.php,v 1.2.18.1 2006/05/24 05:42:55 minahito Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -34,6 +34,14 @@
  **/
 include "mainfile.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();
+}
+
 //check if start page is defined
 if ( isset($xoopsConfig['startpage']) && $xoopsConfig['startpage'] != "" && $xoopsConfig['startpage'] != "--" ) {
 	header('Location: '.XOOPS_URL.'/modules/'.$xoopsConfig['startpage'].'/');


xoops-cvslog メーリングリストの案内
Back to archive index