|
我想用
phpframeworks/eZ-Components/2
访问
phpframeworks/index/eZ-Components/2
我是这么写的
$route['phpframeworks/([a-Z\-]+)/(\d+)'] = "phpframeworks/index/$1/$2";
$route['phpframeworks/([a-Z-]+)/:num'] = "phpframeworks/index/$1/$2";
$route['phpframeworks/([a-Z\-]+)/:num'] = "phpframeworks/index/$1/$2";
都不行
错误:
A PHP Error was encounteredSeverity: Warning
Message: preg_match() [function.preg-match]: Compilation failed: range out of order in character class at offset 19
Filename: libraries/Router.php
Line Number: 270
A PHP Error was encounteredSeverity: Warning
Message: Cannot modify header information - headers already sent by(output started at/home/content/M/a/x/MaxMortgage/html/frameworks/sys/libraries/Exceptions.php:164)
Filename: errors/error_404.php
Line Number: 1
404 Page Not Found The page you requested was not found.
[ 本帖最后由 wood 于 2008-10-21 00:33 编辑 ] |
|