' Admin ' If $System.IsPost ' If ! $HttpLog ' $System.Add httplog HttpLog ' EndIf ' $PrevUnit = $HttpLog.Unit ' $PrevRoot = $HttpLog.RootPath ' $HttpLog.Loging = $Loging ' If $Loging = Daily ' $HttpLog.LogFile = "" ' $HttpLog.DateFile = $DateFile ' Else ' $HttpLog.LogFile = $LogFile ' $HttpLog.DateFile = "" ' EndIf ' $HttpLog.Name = $Name ' $HttpLog.URL = $URL ' $HttpLog.RootPath = $RootPath ' $HttpLog.Lines = $Lines ' $HttpLog.Unit = $Unit ' If $PrevUnit != $HttpLog.Unit ' $HttpLog.Remove domain ' EndIf ' If $PrevRoot != $HttpLog.RootPath ' $HttpLog.Remove root ' EndIf ' $System.Redirect $Server?page=HttpLogAdmin ' Exit ' EndIf