Merge branch 'PHP-5.4'

* PHP-5.4:
  Minor change, test using php mail address as account
This commit is contained in:
Xinchen Hui 2012-03-20 15:42:25 +08:00
commit 1a42558832

View File

@ -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 . ' ?>');
}