Initial project files: BESCMS full source
This commit is contained in:
@@ -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',
|
||||
|
||||
|
||||
];
|
||||
Reference in New Issue
Block a user