little change

parent eab57611
......@@ -232,7 +232,7 @@ class ACP3_URI
$protocol = empty($_SERVER['HTTPS']) || strtolower($_SERVER['HTTPS']) === 'off' ? 'http://' : 'https://';
$host = $_SERVER['HTTP_HOST'];
if ($moved_permanently === 1) {
header('HTTP/1.0 301 Moved Permanently');
header('HTTP/1.1 301 Moved Permanently');
}
header('Location: ' . $protocol . $host . $this->route($args));
exit;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment