int XDebugManager::GetPort() const { PHPConfigurationData phpGlobalSettings; phpGlobalSettings.Load(); int port = phpGlobalSettings.GetXdebugPort(); return port; }
PHPXDebugSetupWizard::PHPXDebugSetupWizard(wxWindow* parent) : PHPXDebugSetupWizardBase(parent) { PHPConfigurationData conf; conf.Load(); m_textCtrlIP->ChangeValue(conf.GetXdebugHost()); m_textCtrlKey->ChangeValue(conf.GetXdebugIdeKey()); m_textCtrlPort->ChangeValue(wxString() << conf.GetXdebugPort()); }