diff options
author | rvelices <rv-github@modusoptimus.com> | 2007-06-27 22:50:36 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2007-06-27 22:50:36 +0000 |
commit | 009970bb9250bd72936beb000d1a578897287153 (patch) | |
tree | ca55b30727d0eccc63124b93259dd63df3c8b369 /include | |
parent | 9decd4b30f53487462820846b9da5ee126102d41 (diff) |
- when gallery is locked, the status header is set to 503 (Service unavailable)
- small improvement in admin template (text near checkboxes goes inside <label> element)
git-svn-id: http://piwigo.org/svn/trunk@2046 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/common.inc.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/common.inc.php b/include/common.inc.php index c6ae8c8af..39de9a42f 100644 --- a/include/common.inc.php +++ b/include/common.inc.php @@ -192,6 +192,8 @@ if ($conf['gallery_locked']) if ( script_basename() != 'identification' and !is_admin() ) { + set_status_header(503, 'Service Unavailable'); + @header('Retry-After: 900'); echo $lang['gallery_locked_message'] .'<a href="'.get_absolute_root_url(false).'identification.php">.</a>'; exit(); |