Welcome Guest, Not a member yet? Register   Sign In
setTranslateURIDashes Not Working On CentOS
#1

Hi,

I am seeing some strange behaviour with the setTranslateURIDashes method.

I have it setup in Routes.php as normal as follows:

PHP Code:
$routes->setTranslateURIDashes(true); 

There is nothing strange about this. On my Mac, with the latest PHP 7.4 and all the rest of the system at latest, it works correctly. I see the Controller and method are both translated with the dashes to underscores.

Now when running under CENTOS 7.8, the exact same code will translate the Controller but not the method. So, the methods with the dash do not get translated.

When it fails, I just see an error 404 as you would expect.

CI 4.0.2 not the latest, but there was a bug in 2018, but I don't imagine that this is that bug.

Thanks...

Does anyone have any thoughts or suggestions.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB