代码格式化

master
iyuu.cn 5 years ago
parent 9445547378
commit 60430f6550
  1. 3
      app/AutoReseed.php

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

Loading…
Cancel
Save