引擎位置注册/***注册配置到全局环境。*--1、率先执行,以便后续的程序都能读取到配置文件。*/publicfunction_initConfig(){$config=\Yaf_Application::app()->getConf…