summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2007-08-16 02:17:18 +0000
committerUrban Müller2007-08-16 02:17:18 +0000
commite7bbdeee7fab921dbdf13bdb07c1e5607bfae60f (patch)
tree0a1b8ed1044491517635757e1cc30d74ebfc2974
parent2f5745ca54d60fde9a7b37b109305f327d5d6216 (diff)
downloaditools-e7bbdeee7fab921dbdf13bdb07c1e5607bfae60f.tar.gz
itools-e7bbdeee7fab921dbdf13bdb07c1e5607bfae60f.tar.bz2
itools-e7bbdeee7fab921dbdf13bdb07c1e5607bfae60f.zip
avoid permission trouble
-rw-r--r--it.class1
1 files changed, 1 insertions, 0 deletions
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)