I have a folder called 'scripts' in the root directory and then a file called 'functions.php' in the 'scripts' folder.
root (htdocs)
|scripts
|--functions.php
(And of course there are other files in the root directory including index.php)
In functions.php, I have lines that call several other files in the 'scripts' folder. They are called out like:
Code: Select all
require('scripts/file1.php');
require('scripts/file2.php');
require('scripts/file3.php');
...Code: Select all
root/scripts/scripts/file1.phpCode: Select all
root/scripts/file1.phpAnybody know why this happens and what I can do to fix it? Thanks.