inserted counter for page/api call counting: uVote, pokerstats, danube:api
This commit is contained in:
parent
af53ebaa7c
commit
ae0177e3cf
3
api.php
3
api.php
@ -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.");
|
||||
@ -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.");
|
||||
Loading…
x
Reference in New Issue
Block a user