Yes there is. So I put what you asked in the wrong spot. I put it above
Code:
define('CWD', (($getcwd = getcwd()) ? $getcwd : '.'));
instead of above
Code:
require_once(CWD . '/includes/init.php');
So I just went back and edited it to put it above the right line and I get this output. I believe your question is still the same in either case. Here's the global file line
Code:
chdir('./../');
define('CWD', (($getcwd = getcwd()) ? $getcwd : '.'));
die("getcwd='$getcwd', including '" . CWD . "/includes/init.php'");
require_once(CWD . '/includes/init.php');
When put where you suggested I get the following on the page
Quote:
getcwd='/home/thedotcl/public_html', including '/home/thedotcl/public_html/includes/init.php'
|