From 83a8b83c3a8661f71fb09d5aba21e13803606d00 Mon Sep 17 00:00:00 2001 From: rylon Date: Fri, 24 Jan 2014 22:43:51 +0100 Subject: [PATCH] inserted counter for page/api call counting: uVote, pokerstats, danube:api --- api.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api.php b/api.php index 532711e..8279c28 100644 --- a/api.php +++ b/api.php @@ -10,4 +10,5 @@ require_once 'config.php'; \SYSTEM\system::include_ExceptionShortcut(); //allow ERROR() instead of \SYSTEM\LOG\ERROR() \SYSTEM\system::include_ResultShortcut(); //allow JsonResult() instead of \SYSTEM\LOG\JsonResult() -echo \SYSTEM\API\api::run('\SYSTEM\API\verify', 'api_danube',\array_merge($_POST,$_GET)); \ No newline at end of file +echo \SYSTEM\API\api::run('\SYSTEM\API\verify', 'api_danube',\array_merge($_POST,$_GET)); +new \SYSTEM\LOG\COUNTER("API was called sucessfully."); \ No newline at end of file