1234567891011121314151617181920212223242526 |
- <?php
- /**
- * Lithium: the most rad php framework
- *
- * @copyright Copyright 2013, Union of RAD (http://union-of-rad.org)
- * @license http://opensource.org/licenses/bsd-license.php The BSD License
- */
- namespace lithium\tests\mocks\action;
- class MockIisRequest extends \lithium\action\Request {
- protected function _init() {
- parent::_init();
- $this->_env = array(
- 'PLATFORM' => 'IIS',
- 'SCRIPT_NAME' => '\index.php',
- 'SCRIPT_FILENAME' => false,
- 'DOCUMENT_ROOT' => false,
- 'PATH_TRANSLATED' => '\lithium\app\webroot\index.php',
- 'HTTP_PC_REMOTE_ADDR' => '123.456.789.000'
- );
- }
- }
- ?>
|