From c23c7ee7e673de726b49a1018fcccce7f35a43f0 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 28 Sep 2018 17:52:47 +0200 Subject: httpdocs/index.php: make welcome message more verbose --- httpdocs/index.php | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/httpdocs/index.php b/httpdocs/index.php index 2bda913..7879034 100644 --- a/httpdocs/index.php +++ b/httpdocs/index.php @@ -93,5 +93,21 @@ if (isset($_GET['r'])) { } -print 'Hi, this is an archive server!' . "\n"; +print 'Hi, this is an archive server!
' . "\n"; +print 'I provide archives of these upstreams:
' . "\n"; + +print + implode( + "
\n", + array_map( + "base64_decode", + explode( + "\n", + shell_exec( + 'ls "' . $work_dir . 'repositories"' + ) + ) + ) + ); + die(); -- cgit v1.2.3