Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (15 sloc) 308 Bytes
<?
if (!defined("POUET_API")) exit();
$result = new stdClass();
$data = unserialize( file_get_contents( POUETAPI_POUET_ROOT_LOCAL . "/cache/pouetbox_stats.cache" ) );
if ($data)
{
$result->success = true;
$result->stats = $data;
}
else
{
$result->error = true;
}
output($result);
?>