Exemple #1
0
 /**
  * BBQに焼かれているIPアドレスなら true を返す
  * (true = アク禁)
  *
  * @return  boolean
  * @access  public
  * @static
  */
 function getHostBurned()
 {
     global $_conf;
     if (!$_conf['secure']['auth_bbq'] || HostCheck::isAddrLocal() || HostCheck::isAddrPrivate()) {
         return false;
     }
     if (HostCheck::isAddrBurned()) {
         return true;
     }
     return false;
 }