I have a specific php class that I want to be able to upload identical copies to two different servers. However, depending on the server, the requirements will be located in different places. (constants and global variables are also slightly different) Is it possible to conditionally set require_once, Globals, or constants at the beginning of a file?
source share