fixed bug for detecting IFile "include files" outside of the workspace
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / externaltools / variable / LocalhostExpander.java
index 5bd3b47..2966aaf 100644 (file)
@@ -1,6 +1,7 @@
 package net.sourceforge.phpdt.externaltools.variable;
 
 import net.sourceforge.phpeclipse.PHPeclipsePlugin;
+import net.sourceforge.phpeclipse.ui.WebUI;
 
 import org.eclipse.jface.preference.IPreferenceStore;
 
@@ -14,7 +15,7 @@ public class LocalhostExpander implements IVariableTextExpander {
 
   public String getText(String varTag, String varValue, ExpandVariableContext context) {
     IPreferenceStore store = PHPeclipsePlugin.getDefault().getPreferenceStore(); 
-    return store.getString(PHPeclipsePlugin.PHP_LOCALHOST_PREF);
+    return store.getString(WebUI.PHP_LOCALHOST_PREF);
   }
 
 }