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

diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/PHPeclipsePlugin.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/PHPeclipsePlugin.java
index 34980fc..d3a771d 100644
--- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/PHPeclipsePlugin.java
+++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/PHPeclipsePlugin.java
@@ -827,7 +827,7 @@ public class PHPeclipsePlugin extends AbstractUIPlugin implements
 		IWorkbenchPage page = window.getActivePage();
 		IPath path = new Path(filename);
 		// If the file exists in the workspace, open it
-		IFile file = getWorkspace().getRoot().getFileForLocation(path);
+		IFile file = getWorkspace().getRoot().getFile(path);
 		IEditorPart editor;
 		ITextEditor textEditor;
 		if (file != null && file.exists()) {