$new_path = " /home/USER/public_html"; require_once($new_path.'/application/config/configuration.php'); require_once(PATH_MODULES.'/NewsArticle.php'); require_once(PATH_MODULES.'/Poll.php');
Why is my document root wrong...I'm not sure it is, but we can't really see all of the things you can see with a "hands-on" grip on the server.
<?php error_reporting(E_ALL); var_dump( getcwd() );
it doesn't work…How do you know it doesn't work? What is the symptom?
Where is the /application/config/config