how to add favicon on yii

please help me how to add favicon into yii?

i have folder icon.

Just copy favicon.ico into your webroot directory. That’s it.

Simply copy your favicon.ico in the webroot, where there is your index.php file…

Then in your protected/views/layouts/main.php file, simply add the following html code in the <head> section:

<link rel="shortcut icon" href="favicon.ico" />

<link rel="icon" type="image/x-icon" href="favicon.ico" />