Skip to content

Commit

Permalink
Merge pull request HAWK-Digital-Environments#18 from elearning-ostfal…
Browse files Browse the repository at this point in the history
…ia/pr_cleanup

cleanup, minor issues
  • Loading branch information
HAWK-Digital-Environments authored Oct 11, 2023
2 parents bd52cb7 + 74d46e8 commit a5b3759
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 62 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ To get started you need to add a configuration file to the project first. Copy t
| OIDC_CLIENT_ID | string | "..." | Client Id for this application in Identity provider. |
| OIDC_CLIENT_SECRET | string | "..." | Secret key for OpenID Connect.
| OIDC_LOGOUT_URI | string | "https://...." | URL to logout from Identity provider |
| COMPOSER_PATH | string | "..." | Path to PHP Composer libariries (only needed for OpenID Connect). |
| OPENAI_API_KEY | string | sk-... | Open AI Api key |
| IMPRINT_LOCATION | string | https://your-university/imprint | A link to your imprint. Alternatively you can replace the file index.php under /impressum with your own html/ php of your imprint. |
| PRIVACY_LOCATION | string | https://your-university/privacy-policy | A link to your privacy policy. Alternatively you can replace the file index.php under /datenschutz with your own html/ php of your privacy policy. |
Expand Down
15 changes: 0 additions & 15 deletions about.htm

This file was deleted.

4 changes: 2 additions & 2 deletions datenschutz/index.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
if (file_exists(".env")){
$env = parse_ini_file('.env');
if (file_exists("../.env")){
$env = parse_ini_file('../.env');
}
$privacyLocation = isset($env) ? $env["PRIVACY_LOCATION"] : getenv("PRIVACY_LOCATION");

Expand Down
4 changes: 2 additions & 2 deletions impressum/index.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
if (file_exists(".env")){
$env = parse_ini_file('.env');
if (file_exists("../.env")){
$env = parse_ini_file('../.env');
}
$imprintLocation = isset($env) ? $env["IMPRINT_LOCATION"] : getenv("IMPRINT_LOCATION");

Expand Down
42 changes: 0 additions & 42 deletions oic_login.php

This file was deleted.

0 comments on commit a5b3759

Please sign in to comment.