[eluser]Phil Sturgeon[/eluser]
Yeah that is one problem. However replicating MY_Loader.php for me would be much easier than replicating symlinks so that could be one plus.
SHAREPATH would of course go somewhere better, this code was more "proof of concept" than anything else.
As far as the dependency goes when its moved, a simple if(defined('SHAREPATH') && !empty(SHAREPATH)) could help MY_Loader check if the SHAREPATH was set, therefore working out if it should try looking for shared files (or soft error?).