升级到5135LTS版本
This commit is contained in:
1 parent
2702108200
commit
8e4b2bdaea
26 files changed
+268
-429
No files matched your search
@@ -300,7 +300,7 @@ class File extends SplFileObject
|
||||
*/
|
||||
public function checkSize($size)
|
||||
{
|
||||
if ($this->getSize() > $size) {
|
||||
if ($this->getSize() > (int) $size) {
|
||||
$this->error = 'filesize not match';
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user