diff options
Diffstat (limited to 'Horde_Idna-rpm.patch')
-rw-r--r-- | Horde_Idna-rpm.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Horde_Idna-rpm.patch b/Horde_Idna-rpm.patch new file mode 100644 index 0000000..70a6f84 --- /dev/null +++ b/Horde_Idna-rpm.patch @@ -0,0 +1,16 @@ +diff -up lib/Horde/Idna.php.rpm lib/Horde/Idna.php +--- lib/Horde/Idna.php.rpm 2015-01-07 12:15:14.000000000 +0100 ++++ lib/Horde/Idna.php 2015-01-07 12:17:02.000000000 +0100 +@@ -62,11 +62,7 @@ class Horde_Idna + { + if (!isset(self::$_backend)) { + if (extension_loaded('mbstring')) { +- if (file_exists(__DIR__ . '/vendor/autoload.php')) { +- require_once __DIR__ . '/vendor/autoload.php'; +- } else { +- require_once __DIR__ . '/../../bundle/vendor/autoload.php'; +- } ++ require_once 'True/Punycode.php'; + self::$_backend = new True\Punycode(); + mb_internal_encoding('UTF-8'); + } elseif (class_exists('Net_IDNA2')) { |