We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 957ca5e commit 6131b2cCopy full SHA for 6131b2c
phpdox
@@ -43,8 +43,8 @@
43
require __DIR__ . '/src/autoload.php';
44
45
$found = false;
46
-foreach(array(__DIR__ . '/vendor', __DIR__ . '/../../../vendor') as $vendor) {
47
- if (file_exists($vendor)) {
+foreach(array(__DIR__ . '/vendor', __DIR__ . '/../..') as $vendor) {
+ if (file_exists($vendor . '/autoload.php')) {
48
$found = true;
49
require __DIR__ . '/src/vendor.php';
50
}
0 commit comments