代码格式化

This commit is contained in:
iyuu.cn 2020-02-19 13:33:45 +08:00
parent 9445547378
commit 60430f6550

View File

@ -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");