9 lines
410 B
PHP
9 lines
410 B
PHP
<?php
|
|
header("Content-Type:application/json");
|
|
$c="/dev/shm/ac.json";
|
|
if(file_exists($c)&&time()-filemtime($c)<300){echo file_get_contents($c);exit;}
|
|
$a=85;$s=4887;$sov=12;$prov=10;$cog=19;$cr=10;$bl=34;
|
|
$t=$a+$s+$sov+$prov+$cog+$cr+$bl;
|
|
$o=json_encode(["total"=>$t,"agents"=>$a,"skills"=>$s,"sovereign"=>$sov,"providers"=>$prov,"cognitive"=>$cog,"crons"=>$cr,"blade"=>$bl]);
|
|
file_put_contents($c,$o);echo $o;
|