4
sgoten
8y

Sometime ago I had to debug a override to a Joomla component made by the trainne.

So the component work just fine on development but not in production. I made the transition myself so I knew the code was the same.

This is my first rant, quite long, hope you like it.

So I thought something went wrong in the database, I searched and didn't find a thing.

Then I decided to check the code... hold yourself now

The component had to support internalization ..so instead of using the proper function to see what the current language is, he made a if with the URL hard coded..

Like http:://dummy.com/en/

:)

Comments
Add Comment