diff options
author | Urban Müller | 2020-08-05 16:58:25 +0200 |
---|---|---|
committer | Urban Müller | 2020-08-05 16:58:25 +0200 |
commit | 1eba6c6d52660ae9209598423de357e5ea939030 (patch) | |
tree | ef10c97a38804a7bfc6fd25667a4554a9439618c /test/it_url.testserver.php | |
parent | 3538e258590fda78b697ef0e8280585f818034e4 (diff) | |
download | itools-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.php | 2 |
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']; |