重构系统附件字段逻辑
修改各模块附件功能
This commit is contained in:
@@ -135,7 +135,7 @@ class Image
|
||||
{
|
||||
// 原文件不存在
|
||||
if (!is_file($file)) {
|
||||
throw new Exception('原文件不存在。');
|
||||
throw new \Exception('原文件不存在。');
|
||||
}
|
||||
$temp = getimagesize($file);
|
||||
$this->srcw = $srcw = $temp[0];
|
||||
|
||||
Reference in New Issue
Block a user