Theme entry in config.php blanked regularly

in config.php I use the entry

‘theme’ => $_SERVER[‘HTTP_HOST’],

when rewriting the config.php it will be changed it to

‘theme’ => ‘’,

how to change this behavior?