mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 07:12:47 +08:00
修复图形库
This commit is contained in:
@@ -54,7 +54,7 @@ class Image
|
|||||||
public static function init($type = 'Gd', $imgname = null)
|
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);
|
self::$im = new $class($imgname);
|
||||||
return self::$im;
|
return self::$im;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user