Skip to content

Commit

Permalink
get link from environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
PandorasActorMS committed Sep 19, 2023
1 parent 6d7d18c commit 7aa5d32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion datenschutz/index.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
$env = parse_ini_file('../.env');
$privacyLocation = $env["PRIVACY_LOCATION"];
$privacyLocation = getenv("PRIVACY_LOCATION");

header("Location: $privacyLocation");
exit;
2 changes: 1 addition & 1 deletion impressum/index.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
$env = parse_ini_file('../.env');
$imprintLocation = $env["IMPRINT_LOCATION"];
$imprintLocation = getenv("IMPRINT_LOCATION");

header("Location: $imprintLocation");
exit;
Expand Down

0 comments on commit 7aa5d32

Please sign in to comment.