mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-01-19 08:57:55 +00:00
var/www/pages/index.php : add comment
This commit is contained in:
parent
981c0dd904
commit
32427136b7
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ if (end($parts) === '') {
|
|||
|
||||
$file_url = implode("/", $parts);
|
||||
|
||||
# If this is a folder or just empty, we add 'index.html' to the URL:
|
||||
$command = "sh -c \"cd '$git_root' && /usr/bin/git ls-tree 'master:$file_url' > /dev/null\"";
|
||||
exec($command, $output, $retval);
|
||||
if ($retval == 0) {
|
||||
|
|
Loading…
Reference in a new issue