Skip to content

Commit

Permalink
typo, updated default values for settings
Browse files Browse the repository at this point in the history
  • Loading branch information
JanTvrdik committed Aug 4, 2014
1 parent 6a57686 commit 70ebdfb
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 24 deletions.
20 changes: 10 additions & 10 deletions Properties/Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions Properties/Settings.settings
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="PhpVersionSwitcher.Properties" GeneratedClassName="Settings">
<Profiles />
<Settings>
<Setting Name="PhpDir" Type="System.String" Scope="Application">
<Value Profile="(Default)">C:\Web\Soft\PHP</Value>
</Setting>
<Setting Name="HttpServerServiceName" Type="System.String" Scope="Application">
<Value Profile="(Default)">Apache2.4</Value>
</Setting>
<Setting Name="HttpServerProcessPath" Type="System.String" Scope="Application">
<Value Profile="(Default)">C:\Web\Soft\Nginx\nginx.exe</Value>
</Setting>
<Setting Name="FastCgiAddress" Type="System.String" Scope="Application">
<Value Profile="(Default)" />
<Value Profile="(Default)">127.0.0.1:9000</Value>
</Setting>
<Setting Name="HttpServerProcessPath" Type="System.String" Scope="Application">
<Value Profile="(Default)" />
<Setting Name="PhpDir" Type="System.String" Scope="Application">
<Value Profile="(Default)">C:\Web\Soft\PHP</Value>
</Setting>
</Settings>
</SettingsFile>
12 changes: 6 additions & 6 deletions app.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@
</configSections>
<applicationSettings>
<PhpVersionSwitcher.Properties.Settings>
<setting name="PhpDir" serializeAs="String">
<value>C:\Web\Soft\PHP</value>
</setting>
<setting name="HttpServerServiceName" serializeAs="String">
<value>Apache2.4</value>
</setting>
<setting name="HttpServerProcessPath" serializeAs="String">
<value>C:\Web\Soft\Nginx\nginx.exe</value>
</setting>
<setting name="FastCgiAddress" serializeAs="String">
<value />
<value>127.0.0.1:9000</value>
</setting>
<setting name="HttpServerProcessPath" serializeAs="String">
<value />
<setting name="PhpDir" serializeAs="String">
<value>C:\Web\Soft\PHP</value>
</setting>
</PhpVersionSwitcher.Properties.Settings>
</applicationSettings>
Expand Down
2 changes: 1 addition & 1 deletion src/app/ProcessManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public Task Start()
{
try
{
Process.Start(new ProcessStartInfo()
Process.Start(new ProcessStartInfo
{
WorkingDirectory = this.WorkingDirectory,
FileName = this.FileName,
Expand Down
2 changes: 1 addition & 1 deletion src/ui/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public MainForm()
{
this.processManagers.Add(new ProcessManager(Settings.Default.HttpServerProcessPath));
}

if (Settings.Default.FastCgiAddress.Trim().Length > 0)
{
this.processManagers.Add(new ProcessManager(Settings.Default.PhpDir + "\\active\\php-cgi.exe", "-b " + Settings.Default.FastCgiAddress));
Expand Down

0 comments on commit 70ebdfb

Please sign in to comment.