[eluser]dmwilson86[/eluser]
Hi, I'm having a related issue that I can't explain. I have a controller, and I want to load a class file with require_once(). Here is the simplified code:
require_once('../libraries/test.php');
exit(0);
(The controller is not in a controller's subdirectory)
the only thing that test.php has in it is:
<?php
echo "test";
?>
When I load the controller page in the browser php can't find the required file. Why?!? This is driving me slightly insane.
I'm sure there is an easy solution for this, or something that I'm just blatantly missing, but I really need to figure out the issue soon. Thanks for the help.