Hmm…for example, I downloaded codeIgniter I did a search (grep -r -i “BASEPATH” ./) and I dont see a define anywhere, this is on the root folder where all the codeigniter directories exist…
I don’t think that there are those directives in PHP to work as base paths/application paths. They must have been defined somewhere in included files earlier. So check in some included files.