codes****@googl*****
codes****@googl*****
2008年 9月 26日 (金) 09:27:36 JST
Author: tsuchi000 Date: Thu Sep 25 17:27:25 2008 New Revision: 732 Added: trunk/geeklog-1-jp-extended/plugins/japanize/doc/v1.0.2_changes.txt Modified: trunk/geeklog-1-jp-extended/plugins/japanize/functions.inc trunk/geeklog-1-jp-extended/plugins/japanize/version.php Log: japanize 1.0.2 インクルードファイルの直接呼び出し防止コード改正 Added: trunk/geeklog-1-jp-extended/plugins/japanize/doc/v1.0.2_changes.txt ============================================================================== --- (empty file) +++ trunk/geeklog-1-jp-extended/plugins/japanize/doc/v1.0.2_changes.txt Thu Sep 25 17:27:25 2008 @@ -0,0 +1,9 @@ +1.0.1 〜 1.0.2 改善点 2008/09/26 + +1.インクルードファイルの直接呼び出し防止コード改正 + + +差替追加ファイル +-------------------- +functions.inc +version.php Modified: trunk/geeklog-1-jp-extended/plugins/japanize/functions.inc ============================================================================== --- trunk/geeklog-1-jp-extended/plugins/japanize/functions.inc (original) +++ trunk/geeklog-1-jp-extended/plugins/japanize/functions.inc Thu Sep 25 17:27:25 2008 @@ -4,10 +4,10 @@ // | 日本語化プラグイ ン | // +---------------------------------------------------------------------------+ // $Id: plugins/japanize/functions.inc -//2008/09/02 23:08 tsuchi AT geeklog DOT jp +//2008/09/26 08:18 tsuchi AT geeklog DOT jp -if (strpos ($_SERVER['PHP_SELF'], 'functions.inc') !== false) { - die ('This file can not be used on its own.'); +if (strpos(strtolower($_SERVER['PHP_SELF']), 'functions.inc') !== false) { + die('This file can not be used on its own.'); } $pi_name = 'japanize'; Modified: trunk/geeklog-1-jp-extended/plugins/japanize/version.php ============================================================================== --- trunk/geeklog-1-jp-extended/plugins/japanize/version.php (original) +++ trunk/geeklog-1-jp-extended/plugins/japanize/version.php Thu Sep 25 17:27:25 2008 @@ -1,3 +1,3 @@ <?php -$_JPN_CONF['version'] = '1.0.1'; // Plugin Version +$_JPN_CONF['version'] = '1.0.2'; // Plugin Version ?>