Skip to content

Commit f877773

Browse files
committed
update
1 parent 1e70dd0 commit f877773

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ipip/db/Reader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ private function init()
5555
}
5656

5757
$fileSize = 4 + $metaLength + $this->meta['total_size'];
58-
if ($fileSize != $this->fileSize)
58+
if ($fileSize < $this->fileSize)
5959
{
6060
throw new \Exception('IP Database size error.');
6161
}

0 commit comments

Comments
 (0)