[eluser]codeamatic[/eluser]
I'm working on a project that requires me to include a third party .php (lets call it x.php) page using "require_once". Unfortunately, that page is outside the system directory and it seems to give me trouble. I can include the file and it will start going through the file as expected but when it approaches the functions file_exists() and dir() it continues to return false even though the include inside of the if/else recognizes that the file exists
Code:
if (file_exists('includes/configure.php')) {
/**
* load the main configure file.
*/
include('includes/configure.php');
} else {
require('includes/templates/template_default/templates/tpl_zc_install_suggested_default.php');
exit;
}
Any ideas?