Update functions.php

pull/13/head
qkqpttgf 2020-01-03 16:27:16 +08:00 committed by GitHub
parent d4d9408a4e
commit 94a6d92c52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -468,7 +468,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>'; //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));
} }