summaryrefslogtreecommitdiff
path: root/test/it_url.testserver.php
diff options
context:
space:
mode:
authorUrban Müller2020-08-05 16:58:25 +0200
committerUrban Müller2020-08-05 16:58:25 +0200
commit1eba6c6d52660ae9209598423de357e5ea939030 (patch)
treeef10c97a38804a7bfc6fd25667a4554a9439618c /test/it_url.testserver.php
parent3538e258590fda78b697ef0e8280585f818034e4 (diff)
downloaditools-1eba6c6d52660ae9209598423de357e5ea939030.tar.gz
itools-1eba6c6d52660ae9209598423de357e5ea939030.tar.bz2
itools-1eba6c6d52660ae9209598423de357e5ea939030.zip
avoid forbidden fopen()
Diffstat (limited to 'test/it_url.testserver.php')
-rw-r--r--test/it_url.testserver.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/it_url.testserver.php b/test/it_url.testserver.php
index f895d61..f02b316 100644
--- a/test/it_url.testserver.php
+++ b/test/it_url.testserver.php
@@ -1,4 +1,6 @@
<?php
+require 'itools.lib';
+
$stderr = it::fopen('php://stderr', 'w');
fwrite($stderr, "Got Request: '" . $_SERVER['REQUEST_URI'] . "'\n");
$base = 'http://' . $_SERVER['HTTP_HOST'];