Browse Source

Fix missing function log.php from PHP8 changes

I assume this is a better solution than adding the file to the composer.json autoload files as it's only needed for this single file.
pull/68/head
discomrade 2 years ago
parent
commit
7c2b091e32
  1. 1
      log.php

1
log.php

@ -1,5 +1,6 @@
<?php
include 'inc/bootstrap.php';
require_once 'inc/mod/pages.php';
if (!isset($_GET['board']) || !preg_match("/{$config['board_regex']}/u", $_GET['board'])) {
http_response_code(400);

Loading…
Cancel
Save