上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 39 下一页
摘要: {pc:get sql="select * from phpcms_page where catid=2" num="1"} {loop $data $v} {var_dump($v)} {/loop} {/pc} 阅读全文
posted @ 2020-07-03 22:27 武卡卡 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-06-29 20:48 武卡卡 阅读(148) 评论(0) 推荐(0) 编辑
摘要: Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in D:\phpcms\phpsso_server\phpcms\libs\classes\db_mys 阅读全文
posted @ 2020-06-29 20:41 武卡卡 阅读(1183) 评论(0) 推荐(0) 编辑
摘要: 打开/phpcms/modules/admin/classes/push_api.class.php,大概在约 141行, $fields_arr = $fields_value = ''; 将它改为 $fields_arr = $fields_value = []; 即可解决 阅读全文
posted @ 2020-06-29 20:06 武卡卡 阅读(472) 评论(0) 推荐(0) 编辑
摘要: 目前因为phpcms官网停止解析后,很多人安装phpcms v9出现如下错误: 这是因为检测dns解析的域名是phpcms官网的域名,官网域名停止解析后肯定检测失败。解决方法如下: 打开/install/install.php文件,49行或者搜索$PHP_DNS: $PHP_DNS = preg_m 阅读全文
posted @ 2020-06-28 09:10 武卡卡 阅读(455) 评论(0) 推荐(0) 编辑
摘要: 设置路由 //使用session,需要开启session,//session的开始类在/app/Kernel下//protected $middlewareGroups = [// 'web' => [// \Illuminate\Session\Middleware\StartSession::c 阅读全文
posted @ 2020-05-22 14:13 武卡卡 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 第一,需要添加一个 php 文件来实现删除功能,文件添加到: ueditor\php\action_delete.php 代码内容: <?php /* * action_delete.php * 删除 Ueditor 目录下的文件 * */ try { //获取路径 $path = $_POST[' 阅读全文
posted @ 2020-05-19 19:47 武卡卡 阅读(464) 评论(0) 推荐(0) 编辑
摘要: 将 config/app.php文件下将timezone的值改成Asia/Shanghai即可 阅读全文
posted @ 2020-05-18 21:25 武卡卡 阅读(502) 评论(0) 推荐(0) 编辑
摘要: 1. 双引号转换为单引号 JSON.stringify(data).replace(/\"/g,"'"); 2. 单引号转换为双引号 data.replace(/'/g, '"'); 原文出处 : https://blog.csdn.net/weixin_33845881/article/detai 阅读全文
posted @ 2020-05-12 23:20 武卡卡 阅读(1793) 评论(0) 推荐(0) 编辑
摘要: Promise.all([p1, p2]).then( (res) => { let [p1, p2] = res; console.log(p1, p2); }, (err) => { console.log(err); } ); 阅读全文
posted @ 2020-05-09 22:50 武卡卡 阅读(470) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 39 下一页