- 博客(3)
- 收藏
- 关注
原创 TP5 配置伪静态和修改默认访问路径
TP5 配置伪静态和修改默认访问路径1.服务器配置伪静态location / {root html;index index.html index.htm;if (!-e KaTeX parse error: Expected '}', got 'EOF' at end of input: … rewrite ^(.*) /index.php?s=$1 last;break;}2.修改项目根目录下.htaccess 文件RewriteCond %{REQUEST_FILENAME}
2021-07-02 16:57:17 1376 3
转载 删除前多长时间的文件
<?phpfunction z_del_file_by_ctime($dir,$n){ if(is_dir($dir)){ if($dh=opendir($dir)){ while (false !== ($file = readdir($dh))){ if($file!="." && $f...
2020-03-12 14:51:23 105
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人