예제 #1
0
 function setUp()
 {
     $this->_request = new \HTRouter\Request();
     $this->_request->setFilename("foo");
     $this->_request->setDocumentRoot("/www");
     $this->_request->setHostname("php.unittest.org");
 }
예제 #2
0
 function setUp()
 {
     $this->_condition = new Condition('%{REQUEST_FILENAME}', '!-f', '[NV]');
     $this->_request = new \HTRouter\Request();
     $this->_request->setFilename("foo");
     $this->_request->setDocumentRoot("/www");
     $this->_request->setHostname("php.unittest.org");
 }