addLog($projectId, $version, $logEntry, $author); } header("Location: index.php?view=projects&project_id=$projectId"); exit; } header('Location: index.php'); exit;