mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 04:23:01 +00:00
Merge branch 'master' of github.com:sbrl/Pepperminty-Wiki
This commit is contained in:
commit
71544b5d9d
1 changed files with 0 additions and 6 deletions
|
@ -397,11 +397,5 @@ function stats_load()
|
|||
function stats_save($stats)
|
||||
{
|
||||
global $paths;
|
||||
echo("STATS_SAVE BEGIN, CONTENT_DUMP:\n");
|
||||
var_dump($stats);
|
||||
echo("\nCONTENT_JSON:\n");
|
||||
var_dump(json_encode($stats, JSON_PRETTY_PRINT, 10));
|
||||
echo("\nLAST_ERROR: ".json_last_error()."\n");
|
||||
echo("\nSTATS_SAVE END to $paths->statsindex\n");
|
||||
return file_put_contents($paths->statsindex, json_encode($stats, JSON_PRETTY_PRINT) . "\n");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue