mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
修复图形库
This commit is contained in:
@@ -54,7 +54,7 @@ class Image
|
||||
public static function init($type = 'Gd', $imgname = null)
|
||||
{
|
||||
/* 引入处理库,实例化图片处理对象 */
|
||||
$class = '\\think\\image\\driver\\' . strtolower($type);
|
||||
$class = '\\org\\image\\driver\\' . strtolower($type);
|
||||
self::$im = new $class($imgname);
|
||||
return self::$im;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user