- if(0 && in_array($_SERVER['HTTP_HOST'], array('test.gkk.cn', 'test-center.gkk.cn')) 
 
 -         && !(preg_match('/^\/Mobile\//', $_SERVER['REQUEST_URI']) 
 
 -         || preg_match('/^\/app_down\//', $_SERVER['REQUEST_URI'])
 
 -         || preg_match('/^\/Pc\/Index/', $_SERVER['REQUEST_URI'])
 
 -         || preg_match('/^\/Pc\/PcTest/', $_SERVER['REQUEST_URI'])
 
 -         || preg_match('/^\/Chat/', $_SERVER['REQUEST_URI']))) {
 
 -     if (!isset($_SERVER['PHP_AUTH_USER']) || $_SERVER['PHP_AUTH_USER']!='admin' || $_SERVER['PHP_AUTH_PW']!='wyzc612!#') {
 
 -         authenticate();
 
 -     }
 
 - }
 
  复制代码 
 
 |