diff options
author | Christian Schneider | 2007-10-08 11:51:34 +0000 |
---|---|---|
committer | Christian Schneider | 2007-10-08 11:51:34 +0000 |
commit | dccc497d1bbe32ed96e41897e88a98fd55a9faf1 (patch) | |
tree | a71da0e4c20f12b649450ec6bbf04777a05a0434 /it.class | |
parent | e4404f222d1698b582d5966b12d1c432fb7fe147 (diff) | |
download | itools-dccc497d1bbe32ed96e41897e88a98fd55a9faf1.tar.gz itools-dccc497d1bbe32ed96e41897e88a98fd55a9faf1.tar.bz2 itools-dccc497d1bbe32ed96e41897e88a98fd55a9faf1.zip |
Replace existing symlink when creating new log file
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -94,6 +94,7 @@ function log($name /* ... */) if (!$existed) { @chgrp($fn, "www"); + @unlink($GLOBALS['ULTRAHOME'] . "/log/$name"); @symlink($fn, $GLOBALS['ULTRAHOME'] . "/log/$name"); } } |