blob: 70a6f842f1680a1c863664771ec39ab280904543 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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')) {
|