Skip to content

Commit 6131b2c

Browse files
committed
Candidate to fix #226
1 parent 957ca5e commit 6131b2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

phpdox

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
require __DIR__ . '/src/autoload.php';
4444

4545
$found = false;
46-
foreach(array(__DIR__ . '/vendor', __DIR__ . '/../../../vendor') as $vendor) {
47-
if (file_exists($vendor)) {
46+
foreach(array(__DIR__ . '/vendor', __DIR__ . '/../..') as $vendor) {
47+
if (file_exists($vendor . '/autoload.php')) {
4848
$found = true;
4949
require __DIR__ . '/src/vendor.php';
5050
}

0 commit comments

Comments
 (0)