diff options
author | Xinchen Hui <laruence@php.net> | 2012-03-20 15:41:43 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2012-03-20 15:41:43 +0800 |
commit | e1931dd1ad35d46e1858a6571e16ed592c43f338 (patch) | |
tree | 5c88f299fde2834ddb1ad3b19d9b5abc42e98a86 | |
parent | 30bd2494a29c45faf7ddac37601fa2588856c7fe (diff) | |
download | php-git-e1931dd1ad35d46e1858a6571e16ed592c43f338.tar.gz |
Minor change, test using php mail address as account
-rw-r--r-- | sapi/cli/tests/php_cli_server.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sapi/cli/tests/php_cli_server.inc b/sapi/cli/tests/php_cli_server.inc index 60ae3254db..44ee76ea7f 100644 --- a/sapi/cli/tests/php_cli_server.inc +++ b/sapi/cli/tests/php_cli_server.inc @@ -5,6 +5,7 @@ function php_cli_server_start($code = 'echo "Hello world";', $no_router = FALSE) $php_executable = getenv('TEST_PHP_EXECUTABLE'); $doc_root = __DIR__; $router = "index.php"; + if ($code) { file_put_contents($doc_root . '/' . $router, '<?php ' . $code . ' ?>'); } |