Wednesday, May 4, 2011

HTML helper (Meta Icon) duplicating unnecessarily?

Hi

I just got started with CakePHP, and have the following in my layout,
between the <head> tags's as you'd expect:

<?php echo $this->Html->meta('icon') . "\t\n"; ?>

The output, however is:

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

Now it's not the end of the world, and I know I can do it manually,
but could someone please shed some light as to why this is repeated
twice, with only "shortcut" added? It doesn't make a lot of sense to
me.

I have searched, but there didn't seem to be anything too recent that
mentions this behavior. I am using a fresh copy of CakePHP 1.3.8.

Regards

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: