summaryrefslogtreecommitdiff
path: root/itjs
diff options
context:
space:
mode:
authorUrban Müller2018-06-22 08:54:54 +0200
committerUrban Müller2018-06-22 08:54:54 +0200
commit99b7fc8dc08da090bb7f00c2882e1daeec4434ba (patch)
tree30e2348c995d39d153c0d2056ee2fb69190f7862 /itjs
parent3dabbbd5325c9fad9582cd44b1da68dece78eaa0 (diff)
downloaditools-99b7fc8dc08da090bb7f00c2882e1daeec4434ba.tar.gz
itools-99b7fc8dc08da090bb7f00c2882e1daeec4434ba.tar.bz2
itools-99b7fc8dc08da090bb7f00c2882e1daeec4434ba.zip
Revert "use safer it:: variants of file funcs"
This reverts commit 05e7ceefa1f0a29c665381b54ac882f260ae6c22.
Diffstat (limited to 'itjs')
-rw-r--r--itjs/error.gif4
1 files changed, 2 insertions, 2 deletions
diff --git a/itjs/error.gif b/itjs/error.gif
index 8291976..d743ef1 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");
- it::file_put_contents("/tmp/itjs/error-" . date("YmdHis"), $data);
+ file_put_contents("/tmp/itjs/error-" . date("YmdHis"), $data);
}
header("Content-Type: image/gif");
-it::readfile(dirname($_SERVER['SCRIPT_FILENAME']) . "/itjs/0.gif");
+readfile(dirname($_SERVER['SCRIPT_FILENAME']) . "/itjs/0.gif");