if (isset($_POST['ok'])) {
// First merge temporarily the new API data into the current config
- global $_CONFIG;
- $_CONFIG = merge_array($_CONFIG, $_POST);
+ mergeConfig($_POST);
// Let's test the API first (hold your horses here, cowboy! Thank you. :) )
if (WERNIS_TEST_API()) {