ソースを参照

ごめん

model
コミット
fa3dda075d
  1. 4
      app/Http/Controllers/User/Register.php

4
app/Http/Controllers/User/Register.php

@ -25,11 +25,9 @@ class Register {
}
public function register (Request $r) {
$ip = $_SERVER['REMOTE_ADDR'];
$banned = DB::table('blg_blacklist')->get();
foreach ($banned as $b) {
$ip = explode('.', $ip);
$ip = explode('.', getIp());
$ban = explode('.', $b->ipaddress);
if (
($ban[0] == $ip[0] && $ban[1] == $ip[1] && $ban[2] == $ip[2] && $ban[3] == $ip[3]) ||

読み込み中…
キャンセル
保存