summaryrefslogtreecommitdiff
path: root/itjs/error.gif
diff options
context:
space:
mode:
authorUrban Müller2018-06-21 16:12:20 +0200
committerUrban Müller2018-06-21 16:12:20 +0200
commit05e7ceefa1f0a29c665381b54ac882f260ae6c22 (patch)
treed9107f13ce76a21d77e8be2670f0b2e8d96f19e7 /itjs/error.gif
parentc8319c784267f81e2884a076365b8ca36f4ce0b2 (diff)
downloaditools-05e7ceefa1f0a29c665381b54ac882f260ae6c22.tar.gz
itools-05e7ceefa1f0a29c665381b54ac882f260ae6c22.tar.bz2
itools-05e7ceefa1f0a29c665381b54ac882f260ae6c22.zip
use safer it:: variants of file funcs
Diffstat (limited to 'itjs/error.gif')
-rw-r--r--itjs/error.gif4
1 files changed, 2 insertions, 2 deletions
diff --git a/itjs/error.gif b/itjs/error.gif
index d743ef1..8291976 100644
--- a/itjs/error.gif
+++ b/itjs/error.gif
@@ -4,8 +4,8 @@ if ($_POST)
{
$data = "<?php return " . var_export($_POST, true) . ";\n";
@mkdir("/tmp/itjs");
- file_put_contents("/tmp/itjs/error-" . date("YmdHis"), $data);
+ it::file_put_contents("/tmp/itjs/error-" . date("YmdHis"), $data);
}
header("Content-Type: image/gif");
-readfile(dirname($_SERVER['SCRIPT_FILENAME']) . "/itjs/0.gif");
+it::readfile(dirname($_SERVER['SCRIPT_FILENAME']) . "/itjs/0.gif");