5 lines
229 B
PHP
5 lines
229 B
PHP
<?php
|
|
// Add root dir to the include path and also switch working directory
|
|
const ROOT_DIR = __DIR__ . DIRECTORY_SEPARATOR . "..";
|
|
set_include_path(get_include_path() . PATH_SEPARATOR . ROOT_DIR);
|
|
chdir(ROOT_DIR); |