From 00007f8cccc163cc03e13d63b45f679cf136ec59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Proch=C3=A1zka?= Date: Sun, 30 Jun 2013 15:36:22 +0200 Subject: [PATCH] Workaround for collision of Kdyby extensions --- src/Kdyby/Redis/DI/RedisExtension.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Kdyby/Redis/DI/RedisExtension.php b/src/Kdyby/Redis/DI/RedisExtension.php index c0b220c..a7ac5eb 100644 --- a/src/Kdyby/Redis/DI/RedisExtension.php +++ b/src/Kdyby/Redis/DI/RedisExtension.php @@ -26,6 +26,7 @@ class_alias('Nette\Config\Helpers', 'Nette\DI\Config\Helpers'); } if (isset(Nette\Loaders\NetteLoader::getInstance()->renamed['Nette\Configurator']) || !class_exists('Nette\Configurator')) { + unset(Nette\Loaders\NetteLoader::getInstance()->renamed['Nette\Configurator']); // fuck you class_alias('Nette\Config\Configurator', 'Nette\Configurator'); }