1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Sat, 24 Jan 2015 17:49:30 -0400
Subject: Use homemade autoload
Work around the lack of proper Composer support.
Forwarded: not-needed
---
src/bin/pdepend | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bin/pdepend b/src/bin/pdepend
index e7bac25..8504c70 100755
--- a/src/bin/pdepend
+++ b/src/bin/pdepend
@@ -52,7 +52,7 @@ if (strpos('@php_bin@', '@php_bin') === 0) {
if (file_exists(__DIR__ . '/../../../../autoload.php')) {
require_once __DIR__ . '/../../../../autoload.php';
} else {
- require_once __DIR__ . '/../../vendor/autoload.php';
+ require_once 'PDepend/autoload.php';
}
// Allow as much memory as possible by default
|