1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Wed, 1 Oct 2014 21:06:30 -0400
Subject: Add path to actual autoload
---
phpcpd | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/phpcpd b/phpcpd
index e085575..ca95628 100755
--- a/phpcpd
+++ b/phpcpd
@@ -48,7 +48,7 @@ ini_set('mbstring.internal_encoding', NULL);
$loaded = false;
-foreach (array(__DIR__ . '/../../autoload.php', __DIR__ . '/vendor/autoload.php') as $file) {
+foreach (array(__DIR__ . '/../../autoload.php', __DIR__ . '/vendor/autoload.php', __DIR__ . '/../share/php/SebastianBergmann/PHPCPD/autoload.php') as $file) {
if (file_exists($file)) {
require $file;
$loaded = true;
|