X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.debug.ui/src/net/sourceforge/phpdt/internal/debug/ui/launcher/PHPLaunchShortcut.java b/net.sourceforge.phpeclipse.debug.ui/src/net/sourceforge/phpdt/internal/debug/ui/launcher/PHPLaunchShortcut.java index 3fbd8e2..5a3cafb 100644 --- a/net.sourceforge.phpeclipse.debug.ui/src/net/sourceforge/phpdt/internal/debug/ui/launcher/PHPLaunchShortcut.java +++ b/net.sourceforge.phpeclipse.debug.ui/src/net/sourceforge/phpdt/internal/debug/ui/launcher/PHPLaunchShortcut.java @@ -34,7 +34,8 @@ public class PHPLaunchShortcut implements ILaunchShortcut { if ( ((IFile) firstSelection).getFileExtension().equals("php") || ((IFile) firstSelection).getFileExtension().equals("php3") || - ((IFile) firstSelection).getFileExtension().equals("php4") + ((IFile) firstSelection).getFileExtension().equals("php4") || + ((IFile) firstSelection).getFileExtension().equals("php5") ) { ILaunchConfiguration config = findLaunchConfiguration((IFile)firstSelection, mode); try { @@ -108,10 +109,10 @@ public class PHPLaunchShortcut implements ILaunchShortcut { } protected void log(String message) { - PHPDebugUiPlugin.getDefault().log(new Status(Status.INFO, PHPDebugUiPlugin.PLUGIN_ID, Status.INFO, message, null)); + PHPDebugUiPlugin.log(new Status(Status.INFO, PHPDebugUiPlugin.PLUGIN_ID, Status.INFO, message, null)); } protected void log(Throwable t) { - PHPDebugUiPlugin.getDefault().log(t); + PHPDebugUiPlugin.log(t); } }