mirror of
https://gitee.com/ledc/IYUUAutoReseed
synced 2025-07-07 16:11:52 +00:00
代码格式化
This commit is contained in:
@ -746,7 +746,8 @@ class AutoReseed
|
|||||||
/**
|
/**
|
||||||
* 备份功能
|
* 备份功能
|
||||||
*/
|
*/
|
||||||
private static function backup($key = '',$array = []){
|
private static function backup($key = '', $array = [])
|
||||||
|
{
|
||||||
$json = json_encode($array, JSON_UNESCAPED_UNICODE);
|
$json = json_encode($array, JSON_UNESCAPED_UNICODE);
|
||||||
$myfile = ROOT_PATH.DS.'config'.DS.$key.'.json';
|
$myfile = ROOT_PATH.DS.'config'.DS.$key.'.json';
|
||||||
$file_pointer = @fopen($myfile, "w");
|
$file_pointer = @fopen($myfile, "w");
|
||||||
|
Reference in New Issue
Block a user