mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-15 13:58:24 +08:00
@@ -287,7 +287,6 @@ class YiiRequirementChecker
|
|||||||
$minCheckResult = true;
|
$minCheckResult = true;
|
||||||
}
|
}
|
||||||
if ($max !== null) {
|
if ($max !== null) {
|
||||||
var_dump($postMaxSize, $uploadMaxFileSize, $max);
|
|
||||||
$maxCheckResult = $this->compareByteSize($postMaxSize, $max, '<=') && $this->compareByteSize($uploadMaxFileSize, $max, '<=');
|
$maxCheckResult = $this->compareByteSize($postMaxSize, $max, '<=') && $this->compareByteSize($uploadMaxFileSize, $max, '<=');
|
||||||
} else {
|
} else {
|
||||||
$maxCheckResult = true;
|
$maxCheckResult = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user