summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
Diffstat (limited to 'it.class')
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index 4fa274a..a10f003 100644
--- a/it.class
+++ b/it.class
@@ -117,7 +117,7 @@ function error($p = array(), $body = "", $to = "")
if ($sendalert && (time() - @filemtime($lastsentfn)) > 3600)
{
- mkdir("/tmp/alertdata");
+ @mkdir("/tmp/alertdata");
touch($lastsentfn);
$url = ($_SERVER['HTTPS'] ? "https://" : "http://") . $_SERVER['HTTP_HOST'] .$_SERVER['REQUEST_URI'];