29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-27 07:33:41 +00:00

# [#24646] Send HTTP result code 503 for the offline page

git-svn-id: http://joomlacode.org/svn/joomla/development/trunk@20752 6f6e1ebd-4c2b-0410-823f-f34bde69bce9
This commit is contained in:
Mark Dexter 2011-02-18 04:23:54 +00:00
parent 027afd8fd1
commit de81860b69
2 changed files with 2 additions and 0 deletions

View File

@ -222,6 +222,7 @@ final class JSite extends JApplication
$return = (string)$uri;
$this->setUserState('users.login.form.data',array( 'return' => $return ) );
$file = 'offline';
JResponse::setHeader('Status', '503 Service Temporarily Unavailable', 'true');
}
if (!is_dir(JPATH_THEMES.DS.$template->template) && !$this->getCfg('offline')) {
$file = 'component';

View File

@ -32,6 +32,7 @@ $ -> Language fix or change
# [#24825] in sql file bug
# [#24506] com_categories doesn't properly update paths of children categories when moved to a new parent
# [#24532] Unused JDate code causing "Catchable fatal error"
# [#24646] Send HTTP result code 503 for the offline page
17-Feb-2011 Jean-Marie Simonet
$ Updating ar-AA and sv-SE