開発環境のhttp下でも認証可能なように変更

This commit is contained in:
konkon-fox 2023-10-07 13:06:58 +09:00
parent 3872363823
commit ccf5462f6c
1 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,10 @@ $sitekey = '1x00000000000000000000AA';
$SECRET_KEY = '1x0000000000000000000000000000000AA';
$FORCESSL = true; #https未対応の場合はfalseにすること
if (getenv('SKIP_VERIFICATION')) {
// 開発環境ではhttp可
$FORCESSL = false;
}
$NOWTIME = time();
$HOST = gethostbyaddr($_SERVER['REMOTE_ADDR']);
$area = [];