inserted counter for page/api call counting: uVote, pokerstats, danube:api

This commit is contained in:
Ulf Gebhardt 2014-01-24 22:43:51 +01:00
parent af53ebaa7c
commit ae0177e3cf
2 changed files with 4 additions and 2 deletions

View File

@ -9,4 +9,5 @@ SYSTEM\system::start($uvote_config);
\SYSTEM\system::register_errorhandler_dbwriter();
\SYSTEM\system::register_errorhandler_jsonoutput();
echo \SYSTEM\API\api::run('\SYSTEM\API\verify','api_uvote',array_merge($_POST,$_GET));
echo \SYSTEM\API\api::run('\SYSTEM\API\verify','api_uvote',array_merge($_POST,$_GET));
new \SYSTEM\LOG\COUNTER("API was called sucessfully.");

View File

@ -9,4 +9,5 @@ SYSTEM\system::start($uvote_config);
\SYSTEM\system::register_errorhandler_dbwriter();
\SYSTEM\system::register_errorhandler_jsonoutput();
echo \SYSTEM\API\api::run('\SYSTEM\API\verify','page_uvote',array_merge($_POST,$_GET),1,false,true)->html();
echo \SYSTEM\API\api::run('\SYSTEM\API\verify','page_uvote',array_merge($_POST,$_GET),1,false,true)->html();
new \SYSTEM\LOG\COUNTER("Page was called sucessfully.");