mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-29 22:45:14 -04:00
Fix typo.
This commit is contained in:
parent
30688cbe5a
commit
943de9045d
2 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@ class Util {
|
|||
}
|
||||
|
||||
|
||||
public static function safe_json($path, $obj) {
|
||||
public static function save_json($path, $obj) {
|
||||
|
||||
$json = json_encode($obj);
|
||||
return file_put_contents($path, $json) !== false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue