flagflag  If you want to see English page, please click "English" Button at Left.
5: 2009-07-13 (月) 10:59:29 admin ソース 現: 2010-03-29 (月) 10:54:52 iseki ソース
Line 7: Line 7:
*** include/functions.php の xoops_refcheck() 関数を以下のように修正する (REFERER エラー対策) [#za98fe26] *** include/functions.php の xoops_refcheck() 関数を以下のように修正する (REFERER エラー対策) [#za98fe26]
 158,164c158  158,164c158
- < + <    if (strpos($ref, XOOPS_URL) !== 0 ) {
- <    // Fumi.Iseki +
- <    $ref = preg_replace("/^https:/i", "http:", $ref); +
- <    $url = preg_replace("/^https:/i", "http:", XOOPS_URL); +
- < +
- <    //if (strpos($ref, XOOPS_URL) !== 0 ) { +
- <    if (strpos($ref, $url) !== 0 ) {+
 ---  ---
- >    if (strpos($ref, XOOPS_URL) !== 0 ) {+ >    // Fumi.Iseki 
 + >    $ref = preg_replace("/^https:/i", "http:", $ref); 
 + >    $url = preg_replace("/^https:/i", "http:", XOOPS_URL); 
 + > 
 + >    //if (strpos($ref, XOOPS_URL) !== 0 ) { 
 + >    if (strpos($ref, $url) !== 0 ) {
*** User module のテンプレートを編集する[#z95aa9cb] *** User module のテンプレートを編集する[#z95aa9cb]


トップ   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 6月翌月
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30
<今日>

オンライン状況

46 人のユーザが現在オンラインです。 (4 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 46

もっと...

アクセスカウンタ

今日 : 346346346
昨日 : 3906390639063906
総計 : 2376831623768316237683162376831623768316237683162376831623768316
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com