mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-28 01:10:51 +01:00
fix working directory
This commit is contained in:
parent
b0a44e1a5c
commit
08fa8246bd
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
$_SERVER = Array('REQUEST_URI' => '', 'HTTP_HOST' => '', 'SCRIPT_FILENAME' => '');
|
||||
chdir('../../../');
|
||||
chdir(str_replace('\\', '/', dirname(__FILE__)) . '/../../../');
|
||||
|
||||
require 'inc/functions.php';
|
||||
require 'inc/display.php';
|
||||
|
Loading…
Reference in New Issue
Block a user