1
0
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:
Savetheinternet 2011-06-07 15:36:30 +10:00
parent b0a44e1a5c
commit 08fa8246bd

View File

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