ysbl

每天获取多一点

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2020年3月1日

摘要: \think\Route::get('mmm','index/Index/routenew'); 上面注册路由的代码放在route.php 访问地址:http://6.com/public/index.php/mmm 阅读全文
posted @ 2020-03-01 22:52 ysbl 阅读(263) 评论(0) 推荐(0)

摘要: /** * 修改config的函数 * @param $arr1 配置前缀 * @param $arr2 数据变量 * @return bool 返回状态 */ function setconfig($pat, $rep) { /** * 原理就是 打开config配置文件 然后使用正则查找替换 然 阅读全文
posted @ 2020-03-01 22:03 ysbl 阅读(1727) 评论(0) 推荐(0)

摘要: $arr = Config::load('config.php'); 阅读全文
posted @ 2020-03-01 21:59 ysbl 阅读(4648) 评论(0) 推荐(0)

摘要: Debug::remark('begin'); static $i =0; while ( $i < 10){ echo $i = $i + 1; echo '</br>'; sleep(1); } Debug::remark('end'); echo Debug::getRangeTime('be 阅读全文
posted @ 2020-03-01 18:13 ysbl 阅读(311) 评论(0) 推荐(0)

摘要: 加载的执行流程如下图 阅读全文
posted @ 2020-03-01 17:56 ysbl 阅读(159) 评论(0) 推荐(0)

摘要: https://www.runoob.com/php/php-ref-filter.html 阅读全文
posted @ 2020-03-01 01:28 ysbl 阅读(132) 评论(0) 推荐(0)

摘要: https://www.kancloud.cn/mikkle/thinkphp5_study/331362 阅读全文
posted @ 2020-03-01 00:46 ysbl 阅读(484) 评论(0) 推荐(0)