Fix unlink() for CacheEngine::clear() failed on windows.

This commit is contained in:
hiromi2424 2013-08-09 07:53:34 +09:00
parent 49d66af12e
commit dc381dd4d3

View file

@ -281,7 +281,9 @@ class FileEngine extends CacheEngine {
}
}
if ($file->isFile()) {
unlink($file->getRealPath());
$_path = $file->getRealPath();
unset($file);
unlink($_path);
}
}
}