Patch from Anders Betn�for initializing the PHP source locator.
authorstefanbjarni <stefanbjarni>
Wed, 3 Aug 2005 22:12:52 +0000 (22:12 +0000)
committerstefanbjarni <stefanbjarni>
Wed, 3 Aug 2005 22:12:52 +0000 (22:12 +0000)
net.sourceforge.phpeclipse.launching/src/net/sourceforge/phpdt/internal/launching/PHPLaunchConfigurationDelegate.java

index 6324404..881ad17 100644 (file)
@@ -38,7 +38,9 @@ public class PHPLaunchConfigurationDelegate extends LaunchConfigurationDelegate
         */
        public ILaunch getLaunch(ILaunchConfiguration configuration, String mode) 
        throws CoreException {
-               return new Launch(configuration, mode, new PHPSourceLocator());
+               PHPSourceLocator locator = new PHPSourceLocator();
+               locator.initializeDefaults(configuration);
+               return new Launch(configuration, mode, locator);
        }
        
        /**