moving config array in wep/api.php