diff options
author | Adam T. Carpenter <atc@53hor.net> | 2023-07-02 14:15:02 -0400 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2023-07-02 14:15:02 -0400 |
commit | 3578ebddcdd3949df4d697b40b8f9d9820c48bbd (patch) | |
tree | a47bde557a5d48c59a5057d26d65c4a1e1775b08 /tutors/email/index.php | |
parent | d5b1db1e6ed1803ecac85aaec40507a28c63d708 (diff) | |
download | carpentertutoring-3578ebddcdd3949df4d697b40b8f9d9820c48bbd.tar.xz carpentertutoring-3578ebddcdd3949df4d697b40b8f9d9820c48bbd.zip |
fix: more permanent dir for logins
Diffstat (limited to 'tutors/email/index.php')
-rw-r--r-- | tutors/email/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tutors/email/index.php b/tutors/email/index.php index cb4602f..1a100b3 100644 --- a/tutors/email/index.php +++ b/tutors/email/index.php @@ -50,7 +50,7 @@ // encrypt email and add to logins queue $descriptorspec = array( 0 => array('pipe', 'r'), - 1 => array('file', '/tmp/ct_logins', 'a'), + 1 => array('file', '/var/ct_logins', 'a'), 2 => array('file', '/var/log/ct_mail_submit.log', 'a') ); $process = proc_open('smtpctl encrypt', $descriptorspec, $pipes); @@ -58,7 +58,7 @@ fclose($pipes[0]); // include name and generated email in logins queue - $logins_queue = fopen('/tmp/ct_logins', 'a'); + $logins_queue = fopen('/var/ct_logins', 'a'); fprintf($logins_queue, '\n%s\n', $_POST['name']); $names = explode(' ', strtolower($_POST['name'])); |