mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Improved "tenant initializing" status description.
This commit is contained in:
@@ -362,8 +362,8 @@ namespace Orchard.Environment {
|
|||||||
if (runningShell.State == TenantState.Initializing) {
|
if (runningShell.State == TenantState.Initializing) {
|
||||||
var response = httpContext.Response;
|
var response = httpContext.Response;
|
||||||
response.StatusCode = 503;
|
response.StatusCode = 503;
|
||||||
response.StatusDescription = "Orchard is currently setting up. Please check back in a few moments.";
|
response.StatusDescription = "This tenant is currently initializing. Please try again later.";
|
||||||
response.Write("Orchard is currently setting up. Please check back in a few moments.");
|
response.Write("This tenant is currently initializing. Please try again later.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user