diff options
author | Urban Müller | 2007-08-06 15:00:31 +0000 |
---|---|---|
committer | Urban Müller | 2007-08-06 15:00:31 +0000 |
commit | 2f4f6cb0931561d47b0e7a6da202c815278c2a32 (patch) | |
tree | f6f551c222acbfd0cebee75c30aa003f66e11810 /it.class | |
parent | 1dc3cdb969ab035325061613b2d7cdeeb97917b1 (diff) | |
download | itools-2f4f6cb0931561d47b0e7a6da202c815278c2a32.tar.gz itools-2f4f6cb0931561d47b0e7a6da202c815278c2a32.tar.bz2 itools-2f4f6cb0931561d47b0e7a6da202c815278c2a32.zip |
ensure correct permissions
Diffstat (limited to 'it.class')
-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']; |