出于安全原因,我想更改 pyrocms 后端的 url。我试图在 routes.php 中更改它,但我得到的只是
Fatal error: Class 'CI' not found in /Applications/MAMP/htdocs/pyro2/system/cms/libraries/MX/Modules.php on line 92
这就是我的 routes.php 的样子:
$route['3741/help/([a-zA-Z0-9_-]+)'] = 'admin/help/$1';
$route['3741/([a-zA-Z0-9_-]+)/(:any)'] = '$1/admin/$2';
$route['3741/(login|logout)'] = 'admin/$1';
$route['3741/([a-zA-Z0-9_-]+)'] = '$1/admin/index';
任何想法?