dirname(__FILE__) Returns bad path
Brought to you by:
letreo
// configuration file for PHPOpenChat
// will be included by almost all source files
define('POC_BASE', dirname( __FILE__ ));
I echo POC_BASE and it returns / instead of where it
actually is /phpopenchat
so all the graphics are missing and other things are wrong.
I tried changing it to
// configuration file for PHPOpenChat
// will be included by almost all source files
define('POC_BASE', '/phpopenchat');
and numerous other things, but EVERYTIME, it will
return a blank page, no source code or anything...
HELP?
-William E. Essig