Update functions.php
This commit is contained in:
@@ -439,6 +439,7 @@ function setConfig($arr)
|
|||||||
}
|
}
|
||||||
$envs = array_filter($envs, 'array_value_isnot_null');
|
$envs = array_filter($envs, 'array_value_isnot_null');
|
||||||
ksort($envs);
|
ksort($envs);
|
||||||
|
echo '<pre>'. json_encode($envs, JSON_PRETTY_PRINT).'</pre>';
|
||||||
return file_put_contents('config.json', json_encode($envs, JSON_PRETTY_PRINT));
|
return file_put_contents('config.json', json_encode($envs, JSON_PRETTY_PRINT));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user