From c2015785dae6323704171c11aac7e30fff06a020 Mon Sep 17 00:00:00 2001 From: rylon Date: Thu, 12 Jun 2014 02:05:26 +0200 Subject: [PATCH] mojotrollz: call counter --- api.php | 3 ++- index.php | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/api.php b/api.php index 54bfbdb..d03d31f 100644 --- a/api.php +++ b/api.php @@ -16,4 +16,5 @@ if(!$json){ //Construct the api with the dasense specific ApiVerfy Class and the call handler for da-sense api-calls ApiClass //ApiClass contains all stuff you would seek in the index -> look there -echo \SYSTEM\API\api::run('\SYSTEM\API\verify', 'api_mojotrollz',$json); \ No newline at end of file +echo \SYSTEM\API\api::run('\SYSTEM\API\verify', 'api_mojotrollz',$json); +new \SYSTEM\LOG\COUNTER("API was called sucessfully."); \ No newline at end of file diff --git a/index.php b/index.php index dda71a5..c5a999f 100644 --- a/index.php +++ b/index.php @@ -10,3 +10,4 @@ SYSTEM\system::start($mojotrollz_config); \SYSTEM\system::include_ResultShortcut(); echo \SYSTEM\API\api::run('\SYSTEM\API\verify','page_mojotrollz',array_merge($_POST,$_GET),1,false,true)->html(); +new \SYSTEM\LOG\COUNTER("Page was called sucessfully."); \ No newline at end of file