diff --git a/index.php b/index.php index 5ca4bb4..bb459d1 100644 --- a/index.php +++ b/index.php @@ -218,10 +218,11 @@ namespace:' . $namespace . '
if ($_POST['submit1']) { foreach ($_POST as $k => $v) { if (in_array($k, $constEnv)) { - if (!(getConfig($k)==''&&$v=='')) $tmp[$k] = $v; + //if (!(getConfig($k)==''&&$v=='')) + $tmp[$k] = $v; } } - $response = json_decode(setHerokuConfig($function_name, $tmp, getConfig('APIKey')), true); + $response = setConfig($tmp); if (isset($response['id'])&&isset($response['message'])) { $html = $response['id'] . '
' . $response['message'] . '

@@ -684,7 +685,7 @@ function render_list($path, $files)
  • -
  • href="setup"onclick="alert('');">
  • +