芝麻web文件管理V1.00
编辑当前文件:/home/p/r/i/prismawe/www/resupres/dddse/system/classes/Kohana/HTTP/Exception/401.php
headers('www-authenticate'); $this->headers('www-authenticate', $challenge); return $this; } /** * Validate this exception contains everything needed to continue. * * @throws Kohana_Exception * @return bool */ public function check() { if ($this->headers('www-authenticate') === NULL) throw new Kohana_Exception('A \'www-authenticate\' header must be specified for a HTTP 401 Unauthorized'); return TRUE; } }