- View the diff.
- View the source.
- Go to Xoops Cube/Hack/HTTPS.
5: 2009-07-13 (Mon) 10:59:29 admin | Cur: 2010-03-29 (Mon) 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] |
- Backup list of Xoops Cube/Hack/HTTPS
- Backup diff of Xoops Cube/Hack/HTTPS vs current(No. All)
- 1: 2008-12-26 (Fri) 02:15:14 admin
- 2: 2008-12-26 (Fri) 02:26:09 admin
- 3: 2009-07-01 (Wed) 02:13:03 admin
- 4: 2009-07-07 (Tue) 18:47:39 admin
- 5: 2009-07-13 (Mon) 10:59:29 admin