From e7bbdeee7fab921dbdf13bdb07c1e5607bfae60f Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 16 Aug 2007 02:17:18 +0000 Subject: avoid permission trouble --- it.class | 1 + 1 file changed, 1 insertion(+) diff --git a/it.class b/it.class index 26b15c2..529e63a 100644 --- a/it.class +++ b/it.class @@ -120,6 +120,7 @@ function error($p = array(), $body = "", $to = "") @mkdir("/tmp/alertdata"); @chmod("/tmp/alertdata", 0777); touch($lastsentfn); + @chmod($lastsentfn); $url = ($_SERVER['HTTPS'] ? "https://" : "http://") . $_SERVER['HTTP_HOST'] .$_SERVER['REQUEST_URI']; if (!$title) -- cgit v1.2.3