mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 09:49:22 +02:00
This shouldn't be saved into config
This commit is contained in:
parent
e3af63bd93
commit
62eab175ab
@ -38,7 +38,7 @@ if(!$error) {
|
|||||||
$content .= '$config[\'anonymous_usage_statistics\'] = ' . ((int)$value == 1 ? 'true' : 'false') . ';';
|
$content .= '$config[\'anonymous_usage_statistics\'] = ' . ((int)$value == 1 ? 'true' : 'false') . ';';
|
||||||
$content .= PHP_EOL;
|
$content .= PHP_EOL;
|
||||||
}
|
}
|
||||||
else if($key != 'var_account' && $key != 'var_account_id' && $key != 'var_password' && $key != 'var_step') {
|
else if($key !== 'var_account' && $key !== 'var_account_id' && $key !== 'var_password' && $key !== 'var_step' && $key !== 'var_email' && $key !== 'var_player_name') {
|
||||||
$content .= '$config[\'' . str_replace('var_', '', $key) . '\'] = \'' . $value . '\';';
|
$content .= '$config[\'' . str_replace('var_', '', $key) . '\'] = \'' . $value . '\';';
|
||||||
$content .= PHP_EOL;
|
$content .= PHP_EOL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user