1、在ThinkPHP\Common\runtime.php里面defined('LIB_PATH') or define('LIB_PATH', APP_PATH.'Lib/');即指向的是项目根目录下面的Lib目录。
2、在ThinkPHP\Common\runtime.php里面定义了函数load_runtime_file()其中做了is_dir(LIB_PATH)的判断,检查项目目录结构 如果不存在则自动创建。
3、在ThinkPHP\Common\runtime.php里面定义了函数build_app_dir()其中做了Lib目录和Tpl目录的创建。知道原因了那就好做了,把107行运行build_app_dir()给注释了就OK了。