Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixes #3123

  • Loading branch information...
commit ae7913a100e4b7c002ed0f84f91c8e709a982454 1 parent e862bdb
Sam de Freyssinet samsoir authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  classes/kohana/cache/file.php
2  classes/kohana/cache/file.php
View
@@ -132,7 +132,7 @@ public function get($id, $default = NULL)
$file = new SplFileInfo($directory.$filename);
// If file does not exist
- if ( ! $file->getRealPath())
+ if ( ! $file->isFile())
{
// Return default value
return $default;
Please sign in to comment.
Something went wrong with that request. Please try again.