Merging code from trunk that fixes #774, this work was done by incastrix
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpeclipse / ui / WebUI.java
index a23b7e4..84b2c24 100644 (file)
@@ -168,7 +168,7 @@ public class WebUI extends AbstractUIPlugin implements IPreferenceConstants {
        protected void initializeDefaultPreferences(IPreferenceStore store) {
                store.setDefault(PHP_LOCALHOST_PREF, "http://localhost");
                store.setDefault(PHP_DOCUMENTROOT_PREF, getWorkspace().getRoot()
-                               .getLocation().toString());
+                               .getFullPath().toString());
                // store.setDefault(PHP_BOOKMARK_DEFAULT, "");
 
                store.setDefault(PHP_AUTO_PREVIEW_DEFAULT, "false");