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