From dccc497d1bbe32ed96e41897e88a98fd55a9faf1 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Mon, 8 Oct 2007 11:51:34 +0000 Subject: Replace existing symlink when creating new log file --- it.class | 1 + 1 file changed, 1 insertion(+) (limited to 'it.class') diff --git a/it.class b/it.class index 3a0f8df..727239f 100644 --- a/it.class +++ b/it.class @@ -94,6 +94,7 @@ function log($name /* ... */) if (!$existed) { @chgrp($fn, "www"); + @unlink($GLOBALS['ULTRAHOME'] . "/log/$name"); @symlink($fn, $GLOBALS['ULTRAHOME'] . "/log/$name"); } } -- cgit v1.2.3