summaryrefslogtreecommitdiffstats
path: root/Horde_Stringprep-syslib.patch
blob: bda50a5cf5964b223fd0b29a2ad1329c3c63e262 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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');
     }
 
 }