From c65c7e3d050ef9c391536255874e1ab615920b7a Mon Sep 17 00:00:00 2001 From: David Stockton Date: Wed, 3 Dec 2014 16:51:18 -0700 Subject: [PATCH] Vendor directory location change for phpdox as dependency Since __DIR__ seems to report as vendor/theseer/phpdox, we need to go up one more level to find the directory that contains the vendor directory. --- phpdox | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpdox b/phpdox index d659f422..fa62b246 100755 --- a/phpdox +++ b/phpdox @@ -43,7 +43,7 @@ require __DIR__ . '/src/autoload.php'; $found = false; -foreach(array(__DIR__ . '/vendor', __DIR__ . '/../../vendor') as $vendor) { +foreach(array(__DIR__ . '/vendor', __DIR__ . '/../../../vendor') as $vendor) { if (file_exists($vendor)) { $found = true; require __DIR__ . '/src/vendor.php';