summaryrefslogtreecommitdiff
path: root/tutors/email/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'tutors/email/index.php')
-rw-r--r--tutors/email/index.php4
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']));