📜  strpos codeigniter php 7 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:15.190000             🧑  作者: Mango

代码示例1
//  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);
}