改进Config类和App类 Lange类

支持扩展配置文件分离
This commit is contained in:
thinkphp
2015-12-01 19:47:57 +08:00
parent 2375e257b3
commit 5f1fe79e17
11 changed files with 145 additions and 116 deletions

View File

@@ -14,6 +14,7 @@ namespace think;
use think\Config as Config;
use think\Transform as Transform;
use think\Url as Url;
class Response
{
@@ -54,7 +55,7 @@ class Response
$data = $handler . '(' . Transform::jsonEncode($data) . ');';
break;
}
exit($data);
return $data;
}
/**