forked from GithubBackups/vichan
8chan/smart-build: 404.php should global $config? php is weird
This commit is contained in:
parent
51b93e643d
commit
be80df21f0
2
404.php
2
404.php
@ -3,6 +3,8 @@
|
|||||||
require_once "inc/functions.php";
|
require_once "inc/functions.php";
|
||||||
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
|
||||||
|
|
||||||
|
global $config;
|
||||||
|
|
||||||
$dir = "static/404/";
|
$dir = "static/404/";
|
||||||
|
|
||||||
if (!is_dir($dir))
|
if (!is_dir($dir))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user