Blame view

yohobuy/huodong.m.yohobuy.com/configs/application.production.ini 2.66 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
[common]
;;默认项目
application.directory = APPLICATION_PATH  "/application"
;;website library
application.library = ROOT_PATH "/library"
;;默认模块
application.modules = "Index,Cuxiao"
;;加载
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"
;;默认Controller
application.dispatcher.defaultController = "index"
;;默认Action
application.dispatcher.defaultAction = "index"

;;初始化命名空间
application.namespaces = "Action,Api,Configs,LibModels,Plugin"

;;使用composer
composer.autoload = 0
composer.path = APPLICATION_PATH "/library/Package"

yaf.use_namespace = 1

;;调试模式
[production : common]
application.debug = False
application.servers.config = APPLICATION_PATH "/configs/core"

;出错的时候是否抛出异常
application.dispatcher.throwException = False

;是否使用默认的异常 捕获Controller, 如果开启,  在有未捕获的异常的时候,
;控制权会交给ErrorController的errorAction 方法,
;可以通过$request->getException()获得此异常对象
application.dispatcher.catchException = False

;模板预编译目录,该目录需要有读写权限
application.template.compile = ROOT_PATH "/compile/huodong.m.yohobuy.com"
application.template.path = ROOT_PATH "/template/huodong.m.yohobuy.com/actions"
application.template.partials = ROOT_PATH "/template/huodong.m.yohobuy.com/partials"
application.template.ext = ".phtml"

;静态HTML页面的存放目录, 该目录需要有读写权限
application.assets.path = ROOT_PATH "/assets"

; 应用的版本号
53
application.version = "1.0.3"
54 55 56 57 58 59 60 61

; 网站SEO信息
application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停"
application.seo.keywords = "Yoho! 有货官网,潮流志,潮流男装,潮牌,美国潮牌,日本潮牌,香港潮牌,潮牌店,新品首发,欧美潮流,全球购,代购,时尚,流行,特卖,B2C,正品,购物网站,网上购物,货到付款"
application.seo.description = "YOHO! 有货,年轻人潮流购物中心,中国最大的潮流商品购物网站。100%品牌正品保证,支持货到付款。作为YOHO!旗下的购物平台,汇集了全球潮流时尚商品和中国最流行的商品,也是国内最大的原创文化商品平台,也是香港,台湾地区流行商品的集中地。同时包含日本、韩国等众多国外潮流品牌,带给您全新潮流购物体验。"

; 网站静态资源
application.js.url = "http://cdn.yoho.cn/huodong"
62 63
application.css.url = "http://cdn.yoho.cn/huodong"
application.img.url = "http://cdn.yoho.cn/huodong"