Actually replace $root from config replaces

Fixes Issue #2
This commit is contained in:
Barry
2013-04-03 12:59:16 +02:00
parent 063e59895c
commit c9ae3c8f70
@@ -108,7 +108,7 @@ class GeneratorCommand extends Command {
$root = $facade; $root = $facade;
} }
if(in_array($root, $replace)){ if(array_key_exists($root, $replace)){
$root = $replace[$root]; $root = $replace[$root];
} }