5: 2009-07-13 (月) 10:59:29 admin |
現: 2010-03-29 (月) 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] |
|
78 人のユーザが現在オンラインです。 (12 人のユーザが xpwiki を参照しています。)
登録ユーザ: 0
ゲスト: 78
もっと...
|
|