From abb11bd62f85692e011491e0cb1fe77beff040a2 Mon Sep 17 00:00:00 2001 From: marko Date: Sun, 5 Dec 2021 09:08:30 +0100 Subject: [PATCH] add configSection --- homepage/participo/index.php | 55 +++++++++++++++++++++++------------- 1 file changed, 35 insertions(+), 20 deletions(-) diff --git a/homepage/participo/index.php b/homepage/participo/index.php index 3bb042e..a31aed3 100644 --- a/homepage/participo/index.php +++ b/homepage/participo/index.php @@ -10,9 +10,8 @@ setlocale (LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge'); require_once("./auth.php"); - $basePath = "/users/cwsvjudo/www"; - require_once($basePath."/config/cwsvJudo.config.php"); - require_once($basePath."/config/phpcount.config.php"); + require_once($config['basePath']."/config/cwsvJudo.config.php"); + require_once($config['basePath']."/config/phpcount.config.php"); ?> @@ -25,7 +24,9 @@ setlocale (LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge'); - + + + - participo - + @@ -50,10 +48,10 @@ setlocale (LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge');
- + +
@@ -70,6 +71,7 @@ setlocale (LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge'); if($_SESSION['login']){ ?>
+
@@ -80,18 +82,11 @@ if($_SESSION['login']){