summaryrefslogtreecommitdiffstats
path: root/php-tecnickcom-tc-lib-pdf-parser/php-tecnickcom-tc-lib-pdf-parser-pr1.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-tecnickcom-tc-lib-pdf-parser/php-tecnickcom-tc-lib-pdf-parser-pr1.patch')
-rw-r--r--php-tecnickcom-tc-lib-pdf-parser/php-tecnickcom-tc-lib-pdf-parser-pr1.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/php-tecnickcom-tc-lib-pdf-parser/php-tecnickcom-tc-lib-pdf-parser-pr1.patch b/php-tecnickcom-tc-lib-pdf-parser/php-tecnickcom-tc-lib-pdf-parser-pr1.patch
new file mode 100644
index 0000000..27e5d88
--- /dev/null
+++ b/php-tecnickcom-tc-lib-pdf-parser/php-tecnickcom-tc-lib-pdf-parser-pr1.patch
@@ -0,0 +1,22 @@
+From 8933621df1d2bca67701f24f4325254cf7fccd13 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@famillecollet.com>
+Date: Thu, 2 Jul 2015 14:38:26 +0200
+Subject: [PATCH] Fix autoloader
+
+---
+ resources/autoload.php | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/resources/autoload.php b/resources/autoload.php
+index 840c889..fdb5a6e 100644
+--- a/resources/autoload.php
++++ b/resources/autoload.php
+@@ -22,7 +22,7 @@ function ($class) {
+ return;
+ }
+ $relative_class = substr($class, $len);
+- $file = dirname(__DIR__).'/'.str_replace('\\', '/', $relative_class).'.php';
++ $file = dirname(dirname(__DIR__)).'/'.str_replace('\\', '/', $relative_class).'.php';
+ if (file_exists($file)) {
+ require $file;
+ }