$this->inc following wrong path [SOLVED]
Permalink
This is something I've struggled with in the past, but reared its head once again.
I want to use a $this->inc on my page so it doesn't get too messy.
For example: <?php $this->inc('elements/test.php'); ?>
However, when loading the site I get this:
As you can see, instead of going concrete5.7.5.8\application/themes/ it goes via concrete/themes.
Where did I go wrong?
I want to use a $this->inc on my page so it doesn't get too messy.
For example: <?php $this->inc('elements/test.php'); ?>
However, when loading the site I get this:
include(D:\Program Files (x86)\web development\wamp\www\Future\concrete5.7.5.8\concrete/themes/future/elements/test.php): failed to open stream: No such file or directory
As you can see, instead of going concrete5.7.5.8\application/themes/ it goes via concrete/themes.
Where did I go wrong?
Do you definitely have a file at:
/application/themes/future/elements/test.php
If so, is it readable?