📅  最后修改于: 2022-03-11 14:54:15.190000             🧑  作者: Mango
// Edit file application/third_party/MX/Router.php
public function set_class($class) {
$suffix = $this->config->item('controller_suffix');
if ($suffix && strpos($class, $suffix) === FALSE) {
$class .= $suffix;
}
parent::set_class($class);
}