mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-12 01:50:48 +01:00
fix require's
This commit is contained in:
parent
e405a6c676
commit
7d855c5316
3
log.php
3
log.php
@ -1,6 +1,5 @@
|
||||
<?php
|
||||
include 'inc/functions.php';
|
||||
include 'inc/mod/pages.php';
|
||||
require 'inc/bootstrap.php';
|
||||
|
||||
if (!isset($_GET['board']) || !preg_match("/{$config['board_regex']}/u", $_GET['board'])) {
|
||||
http_response_code(400);
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
include 'inc/functions.php';
|
||||
require 'inc/bootstrap.php';
|
||||
$global = isset($_GET['global']);
|
||||
$post = (isset($_GET['post']) ? $_GET['post'] : false);
|
||||
$board = (isset($_GET['board']) ? $_GET['board'] : false);
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require 'inc/functions.php';
|
||||
require 'inc/bootstrap.php';
|
||||
|
||||
if (!$config['search']['enable']) {
|
||||
die(_("Post search is disabled"));
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once("inc/functions.php");
|
||||
require_once("inc/bootstrap.php");
|
||||
require_once("inc/route.php");
|
||||
require_once("inc/controller.php");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user