How to call CSS files using Kohana PHP 3.3

Asked

Viewed 90 times

3

I’m a beginner in Kohana Framework and would like to know how do I call a CSS file.

  • 3

    Isn’t it clear what you’re asking? It’s pretty clear what the AP is asking.

1 answer

4


You can use URL::base:

<?php echo URL::base(); ?>

Example: <link src="<?=url::base()?>assets/css/layout.css" />

Browser other questions tagged

You are not signed in. Login or sign up in order to post.