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.
This commit is contained in:
discomrade 2022-01-17 11:05:32 -01:00
parent ad772c90b7
commit 7c2b091e32

View File

@ -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);