Skip to content

Commit

Permalink
Fix incorrect file path to mounted volume within PHP script
Browse files Browse the repository at this point in the history
  • Loading branch information
yutotakano committed Nov 25, 2024
1 parent aa48cef commit 08e0400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keep_me_updated.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
# Append the email to the file emails.txt
$myfile = fopen("/etc/aoc/emails.txt", "a") or die("Unable to open file!");
$myfile = fopen("/etc/adventure/emails.txt", "a") or die("Unable to open file!");
$txt = $_POST["email"] . "\n";
fwrite($myfile, $txt);
fclose($myfile);
Expand Down

0 comments on commit 08e0400

Please sign in to comment.