future block

This commit is contained in:
Arionum
2018-04-01 16:28:08 +03:00
parent 7573e64034
commit a13c7285fd
5 changed files with 58 additions and 21 deletions

View File

@@ -21,7 +21,7 @@ function api_echo($data){
}
// log function, shows only in cli atm
function _log($data){
$date=date("[Y-m-d H:s:]");
$date=date("[Y-m-d H:i:s]");
$trace=debug_backtrace();
$loc=count($trace)-1;
$file=substr($trace[$loc]['file'],strrpos($trace[$loc]['file'],"/")+1);