Currently I'm using the following method:

<head>
        <?php echo $html->charset(); ?>
        <title>
                <?php echo $title_for_layout; ?>
        </title>
        <?php
                echo $html->css('cake.generic');
                echo $javascript->link('prototype-1.6.0.2');
                echo $scripts_for_layout;
                echo $html->meta('icon','/myapp/img/favicon.ico', array
('type' =>'icon'));
        ?>
</head>

Is there any way that cake could automatically identify where the
"img" folder is located so that I would no longer need to input the
full address of my favicon in the url?
I'm looking for something similar to $html->css() or $javascript->link
() where the full path to the css or js file no longer needs to be
specified.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to