Fix for cannot add virtual directory
This commit is contained in:
parent
bef5e63cb5
commit
5e20b85438
1 changed files with 1 additions and 1 deletions
|
@ -881,7 +881,7 @@ namespace WebsitePanel.Providers.Web
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region PHP 5 script mappings
|
#region PHP 5 script mappings
|
||||||
if (virtualDir.PhpInstalled.StartsWith(PHP_5))
|
if (!string.IsNullOrEmpty(virtualDir.PhpInstalled) && virtualDir.PhpInstalled.StartsWith(PHP_5))
|
||||||
{
|
{
|
||||||
if (PhpMode == Constants.PhpMode.FastCGI && virtualDir.PhpInstalled.Contains('|'))
|
if (PhpMode == Constants.PhpMode.FastCGI && virtualDir.PhpInstalled.Contains('|'))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue