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

@@ -24,7 +24,7 @@
exit;
}
if (!file_exists(__DIR__ . '/content/' . $site . '.php')) {
if (!file_exists(__DIR__ . '/server/content/' . $site . '.php')) {
$site = '404';
}
@@ -40,7 +40,7 @@
$tpl = new Templates(__DIR__ . '/server/templates/');
$scripts = new Scripts(__DIR__ . '/server/scripts/');
require_once(__DIR__ . '/content/' . $site . '.php');
require_once(__DIR__ . '/server/content/' . $site . '.php');
require_once(__DIR__ . '/server/buildpage.php');