aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2009-05-06 21:07:03 +0000
committerplegall <plg@piwigo.org>2009-05-06 21:07:03 +0000
commite579ec2cad015754d62fdc45ded86acf324cfd9b (patch)
tree9711ea1aca6652432699591ff14002b81deb534a
parentd200bc5808be210324937fb333fd1268f034aaab (diff)
bug 968 fixed: charset is set in HTTP header.
improvement: in the "this gallery is locked" message, the link to the "sign in" page is on the whole sentence, not only on the final dot. git-svn-id: http://piwigo.org/svn/branches/2.0@3276 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--include/common.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/common.inc.php b/include/common.inc.php
index d265b0690..84da13e4f 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -184,8 +184,8 @@ if ($conf['gallery_locked'])
{
set_status_header(503, 'Service Unavailable');
@header('Retry-After: 900');
- echo l10n('gallery_locked_message')
- .'<a href="'.get_absolute_root_url(false).'identification.php">.</a>';
+ header('Content-Type: text/html; charset='.get_pwg_charset());
+ echo '<a href="'.get_absolute_root_url(false).'identification.php">'.l10n('gallery_locked_message').'</a>';
echo str_repeat( ' ', 512); //IE6 doesn't error output if below a size
exit();
}