Strpos Codeigniter Php 7

//  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);
} 
Long Louse