mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-09-02 21:41:36 +08:00
使用新的自动加载机制
This commit is contained in:
@@ -23,7 +23,7 @@ class Transform {
|
||||
*/
|
||||
static private function init($type){
|
||||
if(!isset(self::$handler[$type])) {
|
||||
$class = '\\Think\\Transform\\Driver\\' . strtolower($type);
|
||||
$class = '\\think\\transform\\driver\\' . strtolower($type);
|
||||
self::$handler[$type] = new $class();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user