diff options
-rw-r--r-- | it.class | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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']; |