Joshhh
Member
- Apr 13, 2016
- 325
- 177
Hello Devbest!
I have recently been on hotels, where they still have the "Exploit" (I'm guessing it's called that). Where you can type {server_IP} in your motto, and it would show up on your profile.
All you need to do is head to your class.template.php in the (wwwroot/app/class.template.php).
And find this code:
To help prevent users from using {server_IP} in their motto, just take that line of code out and save.
That's basically it.
Any problems add my skype: Chicken.wings0101
I have recently been on hotels, where they still have the "Exploit" (I'm guessing it's called that). Where you can type {server_IP} in your motto, and it would show up on your profile.
All you need to do is head to your class.template.php in the (wwwroot/app/class.template.php).
And find this code:
Code:
$this->setParams('server_ip', $_CONFIG['hotel']['server_ip']);
To help prevent users from using {server_IP} in their motto, just take that line of code out and save.
That's basically it.
Any problems add my skype: Chicken.wings0101