From 3578ebddcdd3949df4d697b40b8f9d9820c48bbd Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Sun, 2 Jul 2023 14:15:02 -0400 Subject: fix: more permanent dir for logins --- tutors/email/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tutors') 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'])); -- cgit v1.2.3