diff --git a/claim.php b/claim.php index eb6ce61e..9645a0f7 100644 --- a/claim.php +++ b/claim.php @@ -102,6 +102,7 @@ query(sprintf("UPDATE posts_%s SET ip = '127.0.0.1'", $board['uri'])); $query = prepare("DELETE FROM bans WHERE board = :board"); $query->bindValue(":board", $board['uri']); $query->execute(); +_syslog(LOG_NOTICE, "Board claimed: {$board['uri']}"); $body = "
Please read the following instructions carefully:
diff --git a/create.php b/create.php index 8092074b..d7da028b 100644 --- a/create.php +++ b/create.php @@ -106,6 +106,8 @@ rebuildThemes('boards'); query("INSERT INTO ``board_create``(uri) VALUES('$uri')") or error(db_error()); +_syslog(LOG_NOTICE, "New board: $uri"); + $body = <<