When load up a page that is in a folder, i get errors from trying to load the included docs on the page;
<?php
include ('Resources/core/init.php');
include ('Resources/includes/header.php');
include ('Resources/includes/head.php');
include ('Resources/includes/footer.php');
?>
They work fine when i use it on my index page which isn't in a container folder in the website. for example the root to my index page is: websitename/index.php
but my other pages are in folders like: websitename/pages/aboutus/contactus.php
. These aren't the exact names for the website pages it's just an example. Does anyone know what i can do about this?