MockCgiRequest.php 527 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * Lithium: the most rad php framework
  4. *
  5. * @copyright Copyright 2013, Union of RAD (http://union-of-rad.org)
  6. * @license http://opensource.org/licenses/bsd-license.php The BSD License
  7. */
  8. namespace lithium\tests\mocks\action;
  9. class MockCgiRequest extends \lithium\action\Request {
  10. protected function _init() {
  11. parent::_init();
  12. $this->_env = array(
  13. 'PLATFORM' => 'CGI',
  14. 'SCRIPT_FILENAME' => false,
  15. 'DOCUMENT_ROOT' => false,
  16. 'SCRIPT_URL' => '/lithium/app/webroot/index.php'
  17. );
  18. }
  19. }
  20. ?>