summaryrefslogtreecommitdiffstats
path: root/Horde_Stringprep-syslib.patch
diff options
context:
space:
mode:
Diffstat (limited to 'Horde_Stringprep-syslib.patch')
-rw-r--r--Horde_Stringprep-syslib.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/Horde_Stringprep-syslib.patch b/Horde_Stringprep-syslib.patch
new file mode 100644
index 0000000..bda50a5
--- /dev/null
+++ b/Horde_Stringprep-syslib.patch
@@ -0,0 +1,16 @@
+diff -up Horde_Stringprep-1.0.0/lib/Horde/Stringprep.php.old Horde_Stringprep-1.0.0/lib/Horde/Stringprep.php
+--- Horde_Stringprep-1.0.0/lib/Horde/Stringprep.php.old 2014-11-09 14:58:55.000000000 +0100
++++ Horde_Stringprep-1.0.0/lib/Horde/Stringprep.php 2014-11-09 14:59:50.000000000 +0100
+@@ -34,11 +34,7 @@ class Horde_Stringprep
+ */
+ public static function autoload()
+ {
+- if (file_exists(__DIR__ . '/vendor/autoload.php')) {
+- require_once __DIR__ . '/vendor/autoload.php';
+- } else {
+- require_once __DIR__ . '/../../../bundle/vendor/autoload.php';
+- }
++ require_once('/usr/share/php/Znerol/Component/Stringprep/autoload.php');
+ }
+
+ }