File: 0001-Use-global-autoload.php.patch

package info (click to toggle)
phpab 1.29.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 856 kB
  • sloc: php: 3,467; xml: 162; makefile: 28
file content (22 lines) | stat: -rw-r--r-- 621 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Wed, 15 Apr 2015 18:01:47 -0400
Subject: Use global autoload.php

Forwarded: not-needed
---
 composer/bin/phpab | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/composer/bin/phpab b/composer/bin/phpab
index df320bd..a2ae1e3 100755
--- a/composer/bin/phpab
+++ b/composer/bin/phpab
@@ -56,7 +56,7 @@ foreach ($files as $file) {
     }
 }
 
-require __DIR__ . '/../../src/autoload.php';
+require __DIR__ . '/../share/php/TheSeer/Autoload/autoload.php';
 
 $factory = new \TheSeer\Autoload\Factory();
 $rc = $factory->getCLI()->run($_SERVER);