Ignore:
Timestamp:
Sep 9, 2014, 8:12:00 PM (10 years ago)
Author:
alloc
Message:

fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/7dtd-server-fixes/src/NetConnections/Servers/Web/Web.cs

    r182 r183  
    2929                                }
    3030
    31                                 if (!HttpListener.IsSupported)
    32                                         throw new NotSupportedException ("Needs Windows XP SP2, Server 2003 or later.");
     31                                if (!HttpListener.IsSupported) {
     32                                        Log.Out ("Webserver not started (needs Windows XP SP2, Server 2003 or later or Mono)");
     33                                        return;
     34                                }
    3335 
    3436                                handlers.Add ("/index.htm", new SimpleRedirectHandler ("/static/index.html"));
Note: See TracChangeset for help on using the changeset viewer.