Author: fabien
Date: 2010-05-19 15:06:40 +0200 (Wed, 19 May 2010)
New Revision: 29526
Modified:
branches/1.3/lib/config/sfApplicationConfiguration.class.php
branches/1.4/lib/config/sfApplicationConfiguration.class.php
Log:
[1.3, 1.4] fixed incorrect http status when lockfile present (closes #8536)
Modified: branches/1.3/lib/config/sfApplicationConfiguration.class.php
===================================================================
--- branches/1.3/lib/config/sfApplicationConfiguration.class.php
2010-05-19 13:01:43 UTC (rev 29525)
+++ branches/1.3/lib/config/sfApplicationConfiguration.class.php
2010-05-19 13:06:40 UTC (rev 29526)
@@ -234,6 +234,9 @@
{
if (is_readable($file))
{
+ header("HTTP/1.1 503 Service Temporarily Unavailable");
+ header("Status: 503 Service Temporarily Unavailable");
+
include $file;
break;
}
Modified: branches/1.4/lib/config/sfApplicationConfiguration.class.php
===================================================================
--- branches/1.4/lib/config/sfApplicationConfiguration.class.php
2010-05-19 13:01:43 UTC (rev 29525)
+++ branches/1.4/lib/config/sfApplicationConfiguration.class.php
2010-05-19 13:06:40 UTC (rev 29526)
@@ -234,6 +234,9 @@
{
if (is_readable($file))
{
+ header("HTTP/1.1 503 Service Temporarily Unavailable");
+ header("Status: 503 Service Temporarily Unavailable");
+
include $file;
break;
}
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.