I have a feeling there is a really obvious solution to this but I'm just not seeing it. I'm building a website with codeigniter.
In my views directory I have two folders: template
& auth
.
I'm trying to include the header from the template
directory into a php file in the auth
directory.
I'm including it at the top, as always with include '../template/header.php;'
But I'm getting the error:
Message: include(../template/header.php): failed to open stream: No such file or directory
Filename: auth/login.php