Changeset 4308 in subversion
- Timestamp:
- Dec 6, 2010 3:31:03 AM (3 years ago)
- Location:
- trunk/plugins/password
- Files:
-
- 2 edited
-
drivers/sql.php (modified) (2 diffs)
-
package.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/password/drivers/sql.php
r4199 r4308 34 34 if ($err = $db->is_error()) 35 35 return PASSWORD_ERROR; 36 36 37 37 // crypted password 38 38 if (strpos($sql, '%c') !== FALSE) { … … 57 57 if (!($method = $rcmail->config->get('password_dovecotpw_method'))) 58 58 $method = 'CRAM-MD5'; 59 $tmpfile = tempnam('/tmp', 'roundcube-'); 59 60 // use common temp dir 61 $tmp_dir = $rcmail->config->get('temp_dir'); 62 $tmpfile = tempnam($tmp_dir, 'roundcube-'); 63 60 64 $pipe = popen("'$dovecotpw' -s '$method' > '$tmpfile'", "w"); 61 65 if (!$pipe) { -
trunk/plugins/password/package.xml
r4291 r4308 31 31 - hMail driver: HTML tags in logged messages should be stripped off (#1487099) 32 32 - Chpasswd driver: add newline at end of input to chpasswd binary (#1487141) 33 - Fix usage of configured temp_dir instead of /tmp (#1487447) 33 34 </notes> 34 35 <contents>
Note: See TracChangeset
for help on using the changeset viewer.
