$this->inc path wrong (via concrete folder instead of application folder) [SOLVED]
Permalink
This is probably a really easy issue to solve, but whenever I try including something on a page like this:
It follows this path:
I realised that the include tries to go by the concrete5.7.5.6/concrete folder, rather than the concrete5.7.5.6/application folder (where I'm building my theme).
How do I fix this?
<?php $this->inc('elements/header.php');?>
It follows this path:
I realised that the include tries to go by the concrete5.7.5.6/concrete folder, rather than the concrete5.7.5.6/application folder (where I'm building my theme).
How do I fix this?
I'm not sure if this is the issue or not, but theme names need to be all lower case and no spaces, also could be a namespacing issue.
Oooh! No wonder that I couldn't find the error in the code. Yup this fixed it! Thanks!