I’m new to slim and finding it difficult to load css files from public folder in my sub-directories. Below is my sample code
<?php include dirname(__DIR__).'/parts/links.php'; ?>
Errors
Warning : include(/home/Desktop/application/templates/news/parts/links.php)
i don’t understand why the path is including the “templates” folder instead of the “public” folder.