mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
Fix relative path used in unit tests
This commit is contained in:
parent
f0179584b5
commit
af2c0bae95
6 changed files with 95 additions and 75 deletions
|
|
@ -7,8 +7,8 @@ $_SERVER['SERVER_NAME'] = 'www.rhymix.org';
|
|||
$_SERVER['REMOTE_ADDR'] = '127.0.0.1';
|
||||
$_SERVER['DOCUMENT_ROOT'] = dirname(dirname(__DIR__));
|
||||
$_SERVER['SCRIPT_FILENAME'] = dirname(__DIR__) . '/index.php';
|
||||
$_SERVER['SCRIPT_NAME'] = '/rhymix/index.php';
|
||||
$_SERVER['REQUEST_URI'] = '/rhymix/index.php';
|
||||
$_SERVER['SCRIPT_NAME'] = '/' . basename(dirname(__DIR__)) . '/index.php';
|
||||
$_SERVER['REQUEST_URI'] = '/' . basename(dirname(__DIR__)) . '/index.php';
|
||||
|
||||
// Include the autoloader.
|
||||
require_once dirname(__DIR__) . '/common/autoload.php';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue