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