diff options
| author | 2017-12-12 21:40:30 +0100 | |
|---|---|---|
| committer | 2017-12-12 21:40:30 +0100 | |
| commit | 18b240a65e1af5af8751443eb6cd935b784dd117 (patch) | |
| tree | b7e6c54c6ae71629b6101ab386b3b43bd32cbb10 /tests | |
| parent | eca01e366481c73d24d3db8d488a53d38d6ecf5d (diff) | |
| parent | 52d09886558361bd818182da9ddc204e83f618ba (diff) | |
Merge pull request #1717 from Alkarex/dir_in_require
Use __DIR__ for relative include and require
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/bootstrap.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 896929649..5c42f12f7 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -3,5 +3,5 @@ error_reporting(E_ALL); ini_set('display_errors', 1); -require('../constants.php'); +require(__DIR__ . '/../constants.php'); require(LIB_PATH . '/lib_rss.php'); //Includes class autoloader |
