Commit Graph

1376 Commits

Author SHA1 Message Date
thinkphp
fa9eae4a26 改进model的validate方法 2016-03-20 11:04:41 +08:00
thinkphp
c323f5e255 验证类型规则支持使用别名 例如
'age'=>'>:10' 和 'age'=>'gt:10' 等效
2016-03-20 09:43:58 +08:00
thinkphp
2e2390cc00 验证器类支持公共目录定义 修正Route类单一模块下面GET变量获取错误的BUG 2016-03-20 09:12:52 +08:00
thinkphp
2371b7a55e validate类完善 controller和model类的validate方法支持传入提示信息 model类的validate方法支持指定验证器名 2016-03-20 08:19:42 +08:00
thinkphp
53b455e11b 改进model类的validate方法 2016-03-19 22:44:54 +08:00
thinkphp
064a22a99f 修正Validate类message方法 2016-03-19 22:05:20 +08:00
thinkphp
f98ba661fa Merge branch 'master' of https://github.com/top-think/think 2016-03-19 22:00:29 +08:00
thinkphp
9512bfc29a 改写Validate类和单元测试 2016-03-19 21:59:44 +08:00
leunggamciu
e2605e086a 修正phpdoc注释 2016-03-19 14:07:01 +08:00
oldrind
386e7ab8d3 修复php标签合并时输出标签间的空格也被合并的bug 2016-03-18 11:48:48 +08:00
thinkphp
8dfc12e4a0 Merge branch 'master' of https://github.com/top-think/think 2016-03-18 08:36:19 +08:00
thinkphp
a6c1de5f89 修正error_page配置无效的问题 2016-03-18 08:35:54 +08:00
tale
01a3c5aee5 修复内置模版引擎无法自动获取静态缓存的问题 2016-03-17 23:29:54 +08:00
oldrind
14ee945b0c 修正block标签的bug 2016-03-17 09:50:12 +08:00
oldrind
ee8e6a26c0 Merge branch 'master' of https://github.com/top-think/think 2016-03-17 09:36:12 +08:00
thinkphp
dcee66e4cd 保证$_REQUEST正常取值 2016-03-17 08:42:17 +08:00
thinkphp
eed93e4d52 改进默认模板引擎的设置 如果没有设置 template.type 或者为空 默认为think 2016-03-16 23:36:04 +08:00
oldrind
9ddfadb321 Merge branch 'master' of https://github.com/top-think/think 2016-03-16 20:45:12 +08:00
thinkphp
81177066f1 修正template类的模板解析方法 2016-03-16 14:15:23 +08:00
thinkphp
e4450005bb Merge branch 'master' of https://github.com/top-think/think 2016-03-16 13:38:37 +08:00
thinkphp
f90298fe76 修正 2016-03-16 13:37:20 +08:00
huangdijia
45ca16e8b7 优化2处写法 2016-03-16 13:36:02 +08:00
thinkphp
8a47be77b5 修正单元测试 2016-03-16 13:34:09 +08:00
thinkphp
7921c3c060 修正单元测试 2016-03-16 13:23:45 +08:00
thinkphp
6ee82ff9de 修正 2016-03-16 13:13:22 +08:00
thinkphp
380ae28021 修正模板文件 2016-03-16 12:40:29 +08:00
leunggamciu
4d03109427 修复错别字 2016-03-15 23:44:57 +08:00
thinkphp
3918ca3952 改进模板变量赋值 2016-03-15 23:10:59 +08:00
thinkphp
a496cf3198 修正单元测试 2016-03-15 22:27:16 +08:00
thinkphp
14d692dfcd 修正View类模板定位 2016-03-15 22:02:38 +08:00
thinkphp
041a5083d3 Merge branch 'master' of https://github.com/top-think/think 2016-03-15 21:50:29 +08:00
thinkphp
a880485ace 改进View 避免手动初始化engine的时候 view_path为空值 2016-03-15 21:49:33 +08:00
ThinkPHP
f31af6e34c Merge pull request #386 from chunice/master
完善框架惯例配置文件注释
2016-03-15 19:07:36 +08:00
thinkphp
f427e4d077 修正 2016-03-15 18:42:11 +08:00
thinkphp
3cbd5d1b7c 模板引擎参数采用template二级配置 2016-03-15 18:34:05 +08:00
thinkphp
f043633ff4 改进View类和Template类 简化模板主题(取消自动侦测) 当前主题作为view_path传入template 模板标签中可以使用 theme:controller/action 指定其他主题 或者 module@theme/controller/action 跨模块调用模板 2016-03-15 18:24:51 +08:00
chunice
a8233aaf4a 完善框架惯例配置文件注释 2016-03-15 14:46:57 +08:00
oldrind
9c198f4de0 Revert "修改测试文件"
This reverts commit 58d37604892442ddd04dc012fe6aa5ebcb2e152c.
2016-03-15 11:19:32 +08:00
oldrind
5d0c285004 修改测试文件 2016-03-15 10:50:43 +08:00
thinkphp
ca9d2b92ce 异常模板调整 2016-03-15 08:16:12 +08:00
thinkphp
7e55cad2d8 改进异常页面显示 2016-03-14 23:31:29 +08:00
thinkphp
e2333b97db 改进部署模式下异常日志记录详细错误信息 2016-03-14 22:25:56 +08:00
thinkphp
d27c6d3bbd 继续改进 2016-03-14 22:02:21 +08:00
thinkphp
baa371cbe9 改进View类对模板引擎的初始化 2016-03-14 21:59:53 +08:00
thinkphp
49fe92dc56 修正config类一处bug 2016-03-14 17:24:00 +08:00
thinkphp
2e17f418eb 改进Config类 2016-03-14 17:07:38 +08:00
thinkphp
8affa2aed4 Merge branch 'master' of https://github.com/top-think/think 2016-03-14 14:03:10 +08:00
thinkphp
06ba891ca4 View类优化 2016-03-14 14:02:37 +08:00
ThinkPHP
78f7433f51 Merge pull request #379 from hugtale/master
替换核心部分使用的T函数
2016-03-14 10:31:19 +08:00
thinkphp
2a9fb524a8 修正 2016-03-14 09:55:46 +08:00