forked from leftypol/leftypol
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:
parent
a385be3f4c
commit
a1b6ca71b4
1 changed files with 1 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue