diff --git a/Frameworks/Core/ERExtensions/Sources/er/extensions/appserver/ERXApplication.java b/Frameworks/Core/ERExtensions/Sources/er/extensions/appserver/ERXApplication.java index 0a02f6b443b..1e71fd4856c 100644 --- a/Frameworks/Core/ERExtensions/Sources/er/extensions/appserver/ERXApplication.java +++ b/Frameworks/Core/ERExtensions/Sources/er/extensions/appserver/ERXApplication.java @@ -176,6 +176,9 @@ public abstract class ERXApplication extends ERXAjaxApplication implements ERXGr private static boolean wasERXApplicationMainInvoked = false; + /** empty array for adaptorExtensions */ + private static String[] myAppExtensions = {}; + /** * Notification to get posted when we get an OutOfMemoryError or when memory passes * the low memory threshold set in er.extensions.ERXApplication.memoryLowThreshold. @@ -2895,4 +2898,13 @@ public void terminate() { NSNotificationCenter.defaultCenter().postNotification(ApplicationWillTerminateNotification, this); super.terminate(); } + + /** + * Override default implementation that returns {".dll", ".exe"} and therefor prohibits IIS + * as WebServer. + */ + @Override + public String[] adaptorExtensions() { + return myAppExtensions; + } }