application.ini 1.9 KB
[common]
;;默认项目
application.directory = APPLICATION_PATH  "/application"
;;website library
application.library = APPLICATION_PATH "/library"
;;默认模块
application.modules = "Default,Admin"
;;加载
application.bootstrap = APPLICATION_PATH "/application/Bootstrap.php"
;;view文件的扩展名
application.view.ext = "phtml"
;;默认layouts
application.layout.path = APPLICATION_PATH "/application/layouts"
;;layouts 默认文件
application.layout.default = "default.phtml"
;;默认Controller
application.dispatcher.defaultController = "index"
;;默认Action
application.dispatcher.defaultAction = "index"
;;站点网址
website.domain = "http://www.example.com/"
;;静态资源地址
website.static.url = "http://static.example.com/"
;;调试模式
application.debug = true
;;初始化命名空间
application.namespaces = "Action,Plugin,Configs"


;;使用composer
composer.autoload.enable = true
;;composer phpfile
composer.autoload.phpfile = APPLICATION_PATH "/library/Package/vendor/autoload.php"

;;Debug xhprof
application.xhprof.enable = true
application.xhprof.output_dir = /tmp
;;毫秒
application.xhprof.slow_timeout = 500

;出错的时候是否抛出异常
application.dispatcher.throwException = False
;是否使用默认的异常 捕获Controller, 如果开启,  在有未捕获的异常的时候,
;控制权会交给ErrorController的errorAction 方法,
;可以通过$request->getException()获得此异常对象    False
application.dispatcher.catchException = False
[developer : common]
application.servers.config = "/Volumes/MacNode/Code/Q.ERP/QErp/Config"
application.service.host = "/service/"

[testing  : common]
application.servers.config = "/Volumes/MacNode/Code/Q.ERP/QErp/Config"
application.service.host = APP_HTTP_HOST "/service/"

[production  : common]
application.debug = False
application.servers.config = "/Volumes/MacNode/Code/Q.ERP/QErp/Config"
application.service.host = APP_HTTP_HOST "/service/"