修正Tansform类一处错误

This commit is contained in:
ThinkPHP
2013-04-19 15:41:57 +08:00
parent 828ae2d18c
commit 6c94b221d8

View File

@@ -16,7 +16,7 @@ class Transform {
static private $handler = [];
static private init($type){
static private function init($type){
if(!isset(self::$handler[$type])) {
$class = '\\Think\\Transform\\Driver\\' . ucwords($type);
self::$handler[$type] = new $class();