| Index: LayoutTests/http/tests/navigation/resources/save-beacon.php
|
| diff --git a/LayoutTests/http/tests/navigation/resources/save-beacon.php b/LayoutTests/http/tests/navigation/resources/save-beacon.php
|
| index 4de21933b06342f08ef3112b5617b9f776de0be1..a43ff62c29929a8604040105ebf7b80ebe87d535 100644
|
| --- a/LayoutTests/http/tests/navigation/resources/save-beacon.php
|
| +++ b/LayoutTests/http/tests/navigation/resources/save-beacon.php
|
| @@ -1,9 +1,11 @@
|
| <?php
|
| +require_once '../../resources/portabilityLayer.php';
|
| +
|
| function prettify($name) {
|
| return str_replace(' ', '-', ucwords(str_replace('_', ' ', str_replace('http_', '', strtolower($name)))));
|
| }
|
|
|
| -$beaconFilename = "beacon" . (isset($_REQUEST['name']) ? $_REQUEST['name'] : "") . ".txt";
|
| +$beaconFilename = sys_get_temp_dir() . "/beacon" . (isset($_REQUEST['name']) ? $_REQUEST['name'] : "") . ".txt";
|
| $beaconFile = fopen($beaconFilename . ".tmp", 'w');
|
| $httpHeaders = $_SERVER;
|
| ksort($httpHeaders, SORT_STRING);
|
|
|