I have this code and I want to add a stylesheet file to my page in my CI project. I have set the config file to
$config['base_url'] = 'localhost/project/';
However, the link that tries to get this file includes index.php and in return I cannot link the stylesheet. What is wrong with my code?
<link href="../<?php base_url();?>vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
When I echo the base url it shows localhost/project/.
This is the error: GET http://localhost/project/index.php/vendor/bootstrap/css/bootstrap.min.css 404 (Not Found)