diff --git a/PHP.Dockerfile b/PHP.Dockerfile index dda2cf7..dea799e 100644 --- a/PHP.Dockerfile +++ b/PHP.Dockerfile @@ -1,7 +1,14 @@ FROM php:fpm +# update the image +RUN apt update && apt upgrade -y + # install pdo mysql extension RUN docker-php-ext-install pdo pdo_mysql # install xdebug for php -RUN pecl install xdebug && docker-php-ext-enable xdebug \ No newline at end of file +RUN pecl install xdebug && docker-php-ext-enable xdebug + +# install ldap module +RUN apt install -y libldap2-dev +RUN docker-php-ext-install ldap \ No newline at end of file diff --git a/app/database_queries.php b/app/database_queries.php new file mode 100644 index 0000000..b3d9bbc --- /dev/null +++ b/app/database_queries.php @@ -0,0 +1 @@ + PDO::ERRMODE_EXCEPTION]); + + + + Punktesystem + -$query = $pdo->query('SHOW VARIABLES like "version"'); +
+ +
-$row = $query->fetch(); - -echo 'MySQL version:' . $row['Value']; \ No newline at end of file + +

+

+ + \ No newline at end of file diff --git a/app/public/mannschaft.php b/app/public/mannschaft.php new file mode 100644 index 0000000..94f74dd --- /dev/null +++ b/app/public/mannschaft.php @@ -0,0 +1,11 @@ + + + Punktesystem + +
+ +
\ No newline at end of file diff --git a/app/public/stationen.php b/app/public/stationen.php new file mode 100644 index 0000000..37fcdd2 --- /dev/null +++ b/app/public/stationen.php @@ -0,0 +1,11 @@ + + + Punktesystem + +
+ +
\ No newline at end of file diff --git a/app/public/statistik.php b/app/public/statistik.php new file mode 100644 index 0000000..57d6c4e --- /dev/null +++ b/app/public/statistik.php @@ -0,0 +1,11 @@ + + + Punktesystem + +
+ +
\ No newline at end of file