New regattas list on index

This commit is contained in:
Timon Ostertun
2020-09-25 18:48:42 +02:00
parent 04a3348db7
commit 9f16806179
11 changed files with 365 additions and 313 deletions

View File

@@ -42,7 +42,7 @@ workbox.precaching.precacheAndRoute([
}
$hash = md5(getDirHash(__DIR__));
$path = __DIR__ . '/content/';
$path = __DIR__ . '/server/content/';
$dir = opendir($path);
while ($file = readdir($dir)) {
if (($file == '.') or ($file == '..') or (pathinfo($file, PATHINFO_EXTENSION) != 'php')) continue;