- ソース を表示
- Xoops Cube/Hack/HTTPS へ行く。
| 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] | ||
- Xoops Cube/Hack/HTTPS のバックアップ一覧
- Xoops Cube/Hack/HTTPS のバックアップ差分(No. All)
