Обновить pointsystemlib.php
This commit is contained in:
parent
64c4d25790
commit
f999c74ff4
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
function loaddb() {
|
function loaddb() {
|
||||||
global $config;
|
global $config;
|
||||||
$db = json_decode(file_get_contents($config["dbfile"]));
|
$db = json_decode(file_get_contents($config["dbfile"]), true);
|
||||||
return $db;
|
return $db;
|
||||||
}
|
}
|
||||||
function savedb($data) {
|
function savedb($data) {
|
||||||
|
Reference in New Issue
Block a user