X-Git-Url: http://secure.phpeclipse.com

diff --git a/net.sourceforge.phpeclipse.launching/src/net/sourceforge/phpdt/internal/launching/InterpreterRunnerConfiguration.java b/net.sourceforge.phpeclipse.launching/src/net/sourceforge/phpdt/internal/launching/InterpreterRunnerConfiguration.java
index 1675fb7..d2b83cc 100644
--- a/net.sourceforge.phpeclipse.launching/src/net/sourceforge/phpdt/internal/launching/InterpreterRunnerConfiguration.java
+++ b/net.sourceforge.phpeclipse.launching/src/net/sourceforge/phpdt/internal/launching/InterpreterRunnerConfiguration.java
@@ -33,7 +33,7 @@ public class InterpreterRunnerConfiguration {
 
 		//return project.getLocation().toOSString() + "/" + getFileName();
 		IResource file = project.findMember(path);
-		return file.getLocation().toOSString();
+		return file.getProjectRelativePath().toOSString();
 	}
 
 	public String getFileName() {
@@ -194,7 +194,7 @@ public class InterpreterRunnerConfiguration {
 
 		IProject project = getProject().getProject();
 		if (!useRemoteDebugger())
-			return project.getLocation().toOSString();
+			return project.getFullPath().toOSString();
 		else {
 			try {
 				return configuration.getAttribute(
@@ -207,4 +207,16 @@ public class InterpreterRunnerConfiguration {
 		return "";
 	}
 
+	public boolean useDBGSessionInExternalBrowser() {
+		try {
+			return configuration
+					.getAttribute(
+							PHPLaunchConfigurationAttribute.OPEN_DBGSESSION_IN_EXTERNAL_BROWSER,
+							false);
+		} catch (CoreException e) {
+			PHPLaunchingPlugin.log(e);
+		}
+		return false;
+	}
+
 }