Permalink
Browse files

EnhancerStream now respond to is_file() with true

it is for sake of Nette Debugger
  • Loading branch information...
1 parent af8618f commit 6f78d0959ce4ad18031d8017b9240271fe427c22 @unu unu committed Aug 31, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/Enhancer/EnhancerStream.php
@@ -78,6 +78,7 @@ public function stream_stat()
{
return array(
'size' => strlen($this->buffer),
+ 'mode' => 0100644, // it's a file
);
}

0 comments on commit 6f78d09

Please sign in to comment.