flagflag  
5: 2009-07-13 (Mon) 10:59:29 admin source Cur: 2010-03-29 (Mon) 10:54:52 iseki source
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]


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthOct 2025Next Month
Su Mo Tu We Th Fr Sa
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 31
Today

Access Counter

Today : 5590455904559045590455904
Yesterday : 6796167961679616796167961
Total : 3049345830493458304934583049345830493458304934583049345830493458
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com