Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[PATCH] Shopware - Return HTTP 200 for maintenance mode
diff --git a/engine/Shopware/Controllers/Frontend/Error.php b/engine/Shopware/Controllers/Frontend/Error.php
index d546d4c41c..c1333f6471 100644
--- a/engine/Shopware/Controllers/Frontend/Error.php
+++ b/engine/Shopware/Controllers/Frontend/Error.php
@@ -199,7 +199,7 @@ class Shopware_Controllers_Frontend_Error extends Enlight_Controller_Action impl
*/
public function serviceAction()
{
- $this->Response()->setHttpResponseCode(503);
+ $this->Response()->setHttpResponseCode(200);
$this->Response()->headers->set('retry-after', '1800');
}
/**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment