Skip to content

Commit

Permalink
Workaround for collision of Kdyby extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
fprochazka committed Jul 7, 2013
1 parent de1e537 commit 00007f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Kdyby/Redis/DI/RedisExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}

Expand Down

0 comments on commit 00007f8

Please sign in to comment.