dever преди 6 години
родител
ревизия
c2f2410288
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      lib/Store/Core.php

+ 2 - 0
lib/Store/Core.php

@@ -172,6 +172,8 @@ class Core
 			$this->output['status'] = -1;
 			$this->output['message'] = '图片高度不能超过' . $this->config['height'] . 'px';
 		}
+
+		$this->size = number_format($this->size/1024, 2);
 	}
 	
 	/**