good idea, but too early:

    Fatal error: Call to undefined method Configure::check()

the reason:

    Configure::check() was added in 2.3