OpenLD is going to be more object oriented now when almost everybody who use PHP have atleast 5.0. Start of with ExtensionPaths.class.php