Include a variable from another php file

I wanna import a variable from another php file but just a variable , when i include a file and use global variable , file2 is running and ruins the project

Hi!
So, I’ve looked into this, but sadly, as this is more of a php thing than an Overwolf thing, I’m afraid we wouldn’t be able to give an answer that’s more useful than googling it directly. I do recommend that you head on over to our dev discord, since one of the developers there might be more familiar with this topic and be able to help