Skip to content
Permalink
Browse files

Use absolute fallback path for better test tools integration.

Using an absolute path helps with tools that run in environments
where the current working directory does not point to the root of the
project.
  • Loading branch information...
ndm2
ndm2 committed Jan 16, 2017
1 parent 2d32a1e commit 7103f57f186488a452561d6a8593770a6b14f799
Showing with 5 additions and 1 deletion.
  1. +5 −1 tests/bootstrap.php
@@ -20,7 +20,11 @@
use Cake\Datasource\ConnectionManager;
use Cake\Log\Log;
require_once 'vendor/autoload.php';
if (is_file('vendor/autoload.php')) {
require_once 'vendor/autoload.php';
} else {
require_once dirname(__DIR__) . '/vendor/autoload.php';
}
if (!defined('DS')) {
define('DS', DIRECTORY_SEPARATOR);

0 comments on commit 7103f57

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.