Minor change, test using php mail address as account

This commit is contained in:
Xinchen Hui 2012-03-20 15:41:43 +08:00
parent 30bd2494a2
commit e1931dd1ad

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