mirror of
https://github.com/php/php-src.git
synced 2024-10-01 23:06:11 +00:00
Merge branch 'PHP-5.4'
* PHP-5.4: Minor change, test using php mail address as account
This commit is contained in:
commit
1a42558832
@ -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 . ' ?>');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user