bramus / router

A lightweight and simple object oriented PHP Router

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can i serve the static folder using Router?

gari-ma opened this issue · comments

I have a folder called public in my working directory. I want to make the static folder routes available to use. How can I do so?

commented

If you’ve configured your webserver correctly, it will serve these files out of the box. See the demo .htaccess for example, which does this for Apache.