If I include a script in a class method, what is the file path that the includes is relative to?
Is it:
1) the location of the class's file?
2) the location of the script that called the class's method?
3) the location of the script that first called the class's method? (in the case that you have an object that includes another object and so on, so that an object far down the line of objects created is the one that has an includes. Sorry if this is confusing... but it is something like $object = new Object1(new Object2(new Object3)); and so on. If Object 3 includes a file, what is the includes relative to?
4) somewhere else?