I at present have this code...
Code: Select all
if (in_array($var, $not_unset))
{
die('Hacking attempt!');
}
unset($$var);
Moderator: CricketMX Forum Moderators
Code: Select all
if (in_array($var, $not_unset))
{
die('Hacking attempt!');
}
unset($$var);
Thnx... I reverted it and its working now.sputum wrote:The problem is this change in the last phpbb update in the common.php:
Code: Select all
# #-----[ FIND ]--------------------------------------------- # if (!in_array($var, $not_unset)) { unset($$var); } # #-----[ REPLACE WITH ]--------------------------------------------- # if (in_array($var, $not_unset)) { die('Hacking attempt!'); } unset($$var);
Code: Select all
#
#-----[ FIND ]---------------------------------------------
#
if (in_array($var, $not_unset))
{
die('Hacking attempt!');
}
unset($$var);
#
#-----[ REPLACE WITH ]---------------------------------------------
#
if (!in_array($var, $not_unset))
{
unset($$var);
}
Sort of. It is quite complicated, and I imagine will require a fair few changes.fighteur8 wrote:have you find a solution ?
except the code to change in common.php wich is a security issue...
firstly hi all,fighteur8 wrote:have you find a solution ?
except the code to change in common.php wich is a security issue...