I have two pieces of open source software I have installed and am changing a little.
I want to call functions from both of these pieces of software in one php page, but the include files both have a function called translate(), which is giving me the error for duplicate function. These are two completely different functions, which are required.
I know I could go through and change the function name(i.e. software1_translate()), but that causes problems because it is a lot of code, plus, I would have to do it anytime I do upgrades.
Is there anyway to work around this with configuration or some small changes.
Thanks!
Cannot redeclare function
Moderator: General Moderators