This feels like such a noob deal ... banging my head on desk now after a couple hours (which were preceded by about 3 days of JS):
print $incfile. " is the include file <br /><br />";
if (DEBUG) include "$incfile" or die("cannot include $incfile");
else require_once($incfile);
Dying with this:
/usr/local/www/data/devel.foo.com/html/new_package/auth/authorize.php is the include file
Warning: include(1): failed to open stream: No such file or directory in /usr/local/www/data/devel.foo.com/html/new_package/index.php on line 112 Call Stack: 0.0019 168832 1. {main}() /usr/local/www/data/devel.foo.com/html/new_package/index.php:0 Warning: include(): Failed opening '1' for inclusion (include_path='.:/usr/local/share/pear') in /usr/local/www/data/devel.foo.com/html/new_package/index.php on line 112 Call Stack: 0.0019 168832 1. {main}() /usr/local/www/data/devel.foo.com/html/new_package/index.php:0 Fatal error: Class 'auth' not found in /usr/local/www/data/devel.foo.com/html/new_package/index.php on line 116 Call Stack: 0.0019 168832 1. {main}() /usr/local/www/data/devel.foo.com/html/new_package/index.php:0
Note:
1. include(1)? Why is this bool?
2. DEBUG is currently TRUE
3. checks with file_exists() and is_readable() have both passed TRUE at this point.
What is this dummy missing? :bemused: