Merge pull request #233 from mikEmix/1.0.6-wip

Additional condition for CLI mode check
Merge branch '1.0.6-wip' of https://github.com/clevertech/YiiBooster into 1.0.6-wip
Fixed parse error