diff --git a/ThinkPHP/Library/Think/Upload.class.php b/ThinkPHP/Library/Think/Upload.class.php index 3dd4cf5b2..e155d69bf 100644 --- a/ThinkPHP/Library/Think/Upload.class.php +++ b/ThinkPHP/Library/Think/Upload.class.php @@ -270,7 +270,7 @@ private function setDriver($driver = null, $config = null) $class = strpos($driver, '\\') ? $driver : 'Think\\Upload\\Driver\\' . ucfirst(strtolower($driver)); $this->uploader = new $class($config); if (!$this->uploader) { - E("不存在上传驱动:{$name}"); + E("不存在上传驱动:{$driver}"); } }