summaryrefslogtreecommitdiff
path: root/itjs/error.gif
diff options
context:
space:
mode:
authorUrban Müller2018-06-27 15:13:03 +0200
committerUrban Müller2018-06-27 15:13:03 +0200
commit84fe0c2eaa7deb0681cfc8746434044a2fae53c6 (patch)
treef42b265a85d66262da30be905fa0d3e7d310a6e1 /itjs/error.gif
parent3fc0d00f21b44d44ee1cf0513235e1b51340a290 (diff)
downloaditools-84fe0c2eaa7deb0681cfc8746434044a2fae53c6.tar.gz
itools-84fe0c2eaa7deb0681cfc8746434044a2fae53c6.tar.bz2
itools-84fe0c2eaa7deb0681cfc8746434044a2fae53c6.zip
reapply "use safer it:: variants of file funcs", was not the culprit in jussi downtimes
This reverts commit 99b7fc8dc08da090bb7f00c2882e1daeec4434ba.
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");