rolies106/yii-resque — pull request #11 by herroffizier (2014-02-04 15:18:50+00:00)
Title: Fixed a few errors

Hi, and thanks for great Yii extension! It saved me a lot of time.

I fixed some issues and made a little improvement to your code:
* fixed error with non-empty prefix (application was failing if prefix was set);
* changed application type in your console scripts to ```CConsoleApplication``` because ```CWebApplication``` cannot use console config in some cases. For example, ```CWebApplication`` hasn't [commandMap](http://www.yiiframework.com/doc/api/1.1/CConsoleApplication#commandMap-detail) property;
* added automatic definition of framework and application paths, so you don't need to hardcode them in resque and resque-scheduler scripts;
* removed ```date_default_timezone_set``` call in your console script because it may overwrite php cli settings.