Welcome Guest, Not a member yet? Register   Sign In
HMVC broken in php 7.3 -- help
#11

(08-05-2019, 06:19 AM)synanhero Wrote: just change application/third_party/MX/Router.php line 239



from this 



PHP Code:
public function set_class($class)
    {
        
$suffix $this->config->item('controller_suffix');
        if (
strpos($class$suffix) === FALSE)
        {
            
$class .= $suffix;
        }
        
parent::set_class($class);
    } 




to this 



PHP Code:
public function set_class($class)
{
  $suffix = (string)  $this->config->item('controller_suffix');
  if ($suffix && strpos(strval($class), $suffix) === FALSE)
  {
    $class .= $suffix;
  }
  parent::set_class($class);



tested  Angel       
  Smile   Yes .... it works for me also.   Smile
Reply


Messages In This Thread
HMVC broken in php 7.3 -- help - by admin0 - 12-13-2018, 10:13 AM
RE: HMVC broken in php 7.3 -- help - by admin0 - 12-13-2018, 10:54 AM
RE: HMVC broken in php 7.3 -- help - by InsiteFX - 12-14-2018, 03:55 AM
RE: HMVC broken in php 7.3 -- help - by admin0 - 12-14-2018, 10:54 AM
RE: HMVC broken in php 7.3 -- help - by skunkbad - 12-14-2018, 12:33 PM
RE: HMVC broken in php 7.3 -- help - by daycry - 03-28-2019, 09:56 AM
RE: HMVC broken in php 7.3 -- help - by abacoin - 09-28-2019, 06:47 PM
RE: HMVC broken in php 7.3 -- help - by gtozadori - 12-14-2018, 10:10 PM
RE: HMVC broken in php 7.3 -- help - by synanhero - 08-05-2019, 06:19 AM
RE: HMVC broken in php 7.3 -- help - by TamasD - 08-27-2019, 05:57 AM
RE: HMVC broken in php 7.3 -- help - by Alok Insan - 09-20-2020, 04:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB