summaryrefslogtreecommitdiffstats
path: root/php-tecnickcom-tc-lib-pdf-filter/php-tecnickcom-tc-lib-pdf-filter-pr1.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-07-02 14:34:17 +0200
committerRemi Collet <fedora@famillecollet.com>2015-07-02 14:34:17 +0200
commit879949f0ee6aadc8f78e677e655e8d79b1558d81 (patch)
tree924946e120e521d3370a9230c0454fc0d58b34c0 /php-tecnickcom-tc-lib-pdf-filter/php-tecnickcom-tc-lib-pdf-filter-pr1.patch
parente315d8218103666e5ae130cb2eb4da83234021da (diff)
php-tecnickcom-tc-lib-pdf-filter: 1.1.0 - New package
Diffstat (limited to 'php-tecnickcom-tc-lib-pdf-filter/php-tecnickcom-tc-lib-pdf-filter-pr1.patch')
-rw-r--r--php-tecnickcom-tc-lib-pdf-filter/php-tecnickcom-tc-lib-pdf-filter-pr1.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/php-tecnickcom-tc-lib-pdf-filter/php-tecnickcom-tc-lib-pdf-filter-pr1.patch b/php-tecnickcom-tc-lib-pdf-filter/php-tecnickcom-tc-lib-pdf-filter-pr1.patch
new file mode 100644
index 0000000..01e2c80
--- /dev/null
+++ b/php-tecnickcom-tc-lib-pdf-filter/php-tecnickcom-tc-lib-pdf-filter-pr1.patch
@@ -0,0 +1,22 @@
+From 725b11f7e588e1860c6df866e1fe6df9c9378290 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@famillecollet.com>
+Date: Thu, 2 Jul 2015 14:17:54 +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 022c1ac..aac276a 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;
+ }