Initial project files: BESCMS full source

This commit is contained in:
bes
2026-08-13 23:37:46 +08:00
parent fa6cddb540
commit 2e26f85723
2166 changed files with 396625 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
<?php
/**
* URL解析规则
* 例如: 114.html 对应 index.php?s=demo&c=show&id=114
* 可以解析: "114.html" => 'index.php?s=demo&c=show&id=114',
* 动态id解析: "([0-9]+).html" => 'index.php?s=demo&c=show&id=$1',
*/
return [
/***********************下面写你自己的URL解析规则********************/
/***********************共享栏目测试规则:栏目列表页面分页的伪静态解析*************************/
"list\-([\w]+)\-([0-9]+).html(.*)" => 'index.php?c=category&dir=$1&page=$2',
/***********************共享栏目测试规则:栏目列表页面的伪静态解析*************************/
"list\-([\w]+).html(.*)" => 'index.php?c=category&dir=$1',
/***********************共享栏目测试规则:内容页面分页的伪静态解析*************************/
"show\-([0-9]+)\-([0-9]+).html(.*)" => 'index.php?c=show&id=$1&page=$2',
/***********************共享栏目测试规则:内容页面的伪静态解析*************************/
"show\-([0-9]+).html(.*)" => 'index.php?c=show&id=$1',
];