I’m developping a console application to manage objects at server side.
The code is shared by the console application and the web application.
I need to send email and do other things (createUrl, render) which need a CController object.
But this is only available for the web app.
renderFile() is only available in CConsoleCommand.
What can I use to make theses operations?
The guide for console applications: http://www.yiiframework.com/doc/guide/topics.console
Thanks for your replies.