01 2014 档案

YII前台和后台布局(转载)
摘要:一、gii自动生成布局模块1> 在config中main.php中开启gii,即:把下面的注释去掉'modules'=>array( // uncomment the following to enable the Gii tool /* 'gii'=>array( 'class'=>'system.gii.GiiModule', 'password'=>'Enter Your Password Here', //此处设置2的gii密码 // If removed, G 阅读全文

posted @ 2014-01-04 11:04 木杉_佑 阅读(948) 评论(0) 推荐(0)

ThinkPHP3.2学习(三)
摘要:感觉看一个框架没有入手点。只能拿自己用过3.1.3版本中熟悉的东西,比如函数(U、I、S、import、vendor)以及类库(DB、Upload、Verify)等这些东西,贴一遍代码,自己一点一点的分析了。 1 function U($url='',$vars='',$suffix=true,$domain=false) { 2 // 解析URL 3 $info = parse_url($url); 4 $url = !empty($info['path'])?$info['path']:ACTION_NAME; 5 if(is 阅读全文

posted @ 2014-01-03 09:24 木杉_佑 阅读(770) 评论(0) 推荐(1)

导航