Store theme in database in Yii

Hi all,

I want to store file main.php, javascript, css of theme in database. please help me this problem

Well here’s a link to some info that might help.

I’d be really careful with your use of eval(). If you can’t 100% trust the code stored/edited in your db, you’re heading for disaster.