aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/common.inc.php2
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();