ext/apache2/DirectoryMapper.h in passenger-2.2.5 vs ext/apache2/DirectoryMapper.h in passenger-2.2.6

- old
+ new

@@ -168,23 +168,23 @@ return baseURI; } } UPDATE_TRACE_POINT(); - if (shouldAutoDetectRails() - && verifyRailsDir(config->getAppRoot(ap_document_root(r)), cstat, throttleRate)) { + if (shouldAutoDetectRack() + && verifyRackDir(config->getAppRoot(ap_document_root(r)), cstat, throttleRate)) { baseURIKnown = true; baseURI = "/"; - appType = RAILS; + appType = RACK; return baseURI; } UPDATE_TRACE_POINT(); - if (shouldAutoDetectRack() - && verifyRackDir(config->getAppRoot(ap_document_root(r)), cstat, throttleRate)) { + if (shouldAutoDetectRails() + && verifyRailsDir(config->getAppRoot(ap_document_root(r)), cstat, throttleRate)) { baseURIKnown = true; baseURI = "/"; - appType = RACK; + appType = RAILS; return baseURI; } UPDATE_TRACE_POINT(); if (shouldAutoDetectWSGI()