I have this problem with include_once (Linux).
When I use
include_once("filename.php");
it works fine. No file is included twice.
However, when I add
include_once($DOCUMENT_ROOT . "/path/filename.php"),
in all my pages, it doens't work anymore. I get this error that I am declaring classes twice. How come ? and more important: how to solve this problem?