SATS/lib/api/source/fetch.php

22 lines
336 B
PHP
Raw Normal View History

<?php
require_once __DIR__.'/../../include/const';
function api_fetch(){
/* [1] Fetch & generate useful data from features
=========================================================*/
/* (1) Default data : access */
$data = [
'access' => file_get_contents(LOG_DIR.'/access.log')
];
}
echo api_fetch();
?>