Fix potential exploit.
Adapt to new format of config.php.
Bugfix