akrabat / slim3-skeleton

Simple Slim Framework 3 skeleton with Twig & Monolog
BSD 3-Clause "New" or "Revised" License
345 stars 99 forks source link

Add base_url() in resource paths #15

Closed stormwild closed 8 years ago

stormwild commented 8 years ago

To allow loading resources when running app from a sub folder, it may be appropriate to include reference to base_url() in resource paths.

<link href='{{ base_url() }}/css/style.css' rel='stylesheet' type='text/css'>