mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-02-23 20:33:57 +00:00
var/www/pages/index.php : whitespaces
This commit is contained in:
parent
03508f2470
commit
b7cbd00f1d
@ -51,7 +51,7 @@ $command = "sh -c \"cd '$git_root' && /usr/bin/git ls-tree 'master:$file_url' >
|
|||||||
exec($command, $output, $retval);
|
exec($command, $output, $retval);
|
||||||
if ($retval === 0) {
|
if ($retval === 0) {
|
||||||
if (substr($request_url, -1) !== "/") {
|
if (substr($request_url, -1) !== "/") {
|
||||||
$h = "Location: $request_url/";
|
$h = "Location: " . $request_url . "/";
|
||||||
if ($_SERVER['QUERY_STRING'] !== "")
|
if ($_SERVER['QUERY_STRING'] !== "")
|
||||||
$h .= "?" . $_SERVER['QUERY_STRING'];
|
$h .= "?" . $_SERVER['QUERY_STRING'];
|
||||||
header($h);
|
header($h);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user