Browse Source

- any other dir may not exist or may not be used

pull/7/head
Pierre Joye 14 years ago
parent
commit
3893b152ed
  1. 2
      sapi/cli/tests/php_cli_server_003.phpt

2
sapi/cli/tests/php_cli_server_003.phpt

@ -9,7 +9,7 @@ include "skipif.inc";
--FILE--
<?php
include "php_cli_server.inc";
php_cli_server_start('chdir("/tmp"); echo "okey";');
php_cli_server_start('chdir(__DIR__); echo "okey";');
var_dump(file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS));
var_dump(file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS));
?>

Loading…
Cancel
Save