Changeset d079afd in github
- Timestamp:
- Dec 2, 2009 5:48:06 AM (3 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 6d13ca1
- Parents:
- e2927b0
- Files:
-
- 2 edited
-
plugins/filesystem_attachments/filesystem_attachments.php (modified) (2 diffs)
-
program/include/rcube_config.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
plugins/filesystem_attachments/filesystem_attachments.php
rebf8726 rd079afd 53 53 54 54 // use common temp dir for file uploads 55 // #1484529: we need absolute path on Windows for move_uploaded_file() 56 $temp_dir = realpath($rcmail->config->get('temp_dir')); 55 $temp_dir = $rcmail->config->get('temp_dir'); 57 56 $tmpfname = tempnam($temp_dir, 'rcmAttmnt'); 58 57 … … 78 77 if (!$args['path']) { 79 78 $rcmail = rcmail::get_instance(); 80 $temp_dir = unslashify($rcmail->config->get('temp_dir'));79 $temp_dir = $rcmail->config->get('temp_dir'); 81 80 $tmp_path = tempnam($temp_dir, 'rcmAttmnt'); 82 81 -
program/include/rcube_config.php
r3597cc2 rd079afd 69 69 70 70 // fix paths 71 $this->prop['log_dir'] = $this->prop['log_dir'] ? unslashify($this->prop['log_dir']) : INSTALL_PATH . 'logs';72 $this->prop['temp_dir'] = $this->prop['temp_dir'] ? unslashify($this->prop['temp_dir']) : INSTALL_PATH . 'temp';73 71 $this->prop['log_dir'] = $this->prop['log_dir'] ? realpath(unslashify($this->prop['log_dir'])) : INSTALL_PATH . 'logs'; 72 $this->prop['temp_dir'] = $this->prop['temp_dir'] ? realpath(unslashify($this->prop['temp_dir'])) : INSTALL_PATH . 'temp'; 73 74 74 // fix default imap folders encoding 75 75 foreach (array('drafts_mbox', 'junk_mbox', 'sent_mbox', 'trash_mbox') as $folder)
Note: See TracChangeset
for help on using the changeset viewer.
