Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Imap wrapper: fix stat to make sure it responds correctly to the is_r…
Browse files Browse the repository at this point in the history
…eadable test.
  • Loading branch information
cdujeu committed Oct 16, 2015
1 parent bd95f26 commit 37f4c67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/plugins/access.imap/class.imapAccessWrapper.php
Expand Up @@ -375,7 +375,7 @@ public function url_stat($path, $flags)
$keys = array(
'dev' => 0,
'ino' => 0,
'mode' => 33216,
'mode' => 33279,
'nlink' => 0,
'uid' => 0,
'gid' => 0,
Expand All @@ -400,7 +400,7 @@ public function url_stat($path, $flags)
$keys = array(
'dev' => 0,
'ino' => 0,
'mode' => (empty($this->currentAttachmentData)?(33216 | 0040000):33216),
'mode' => (empty($this->currentAttachmentData)?(33279 | 0040000):33216),
'nlink' => 0,
'uid' => 0,
'gid' => 0,
Expand Down

0 comments on commit 37f4c67

Please sign in to comment.