diff --git a/api.php b/api.php index 1068d56..07053dd 100644 --- a/api.php +++ b/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)); \ No newline at end of file +echo \SYSTEM\API\api::run('\SYSTEM\API\verify','api_uvote',array_merge($_POST,$_GET)); +new \SYSTEM\LOG\COUNTER("API was called sucessfully."); \ No newline at end of file diff --git a/config.php b/config.php index 6fe3d88..8ee32a8 100644 --- a/config.php +++ b/config.php @@ -10,7 +10,7 @@ $uvote_config = array( array(SYSTEM\CONFIG\config_ids::SYS_CONFIG_ERRORREPORTIN array(SYSTEM\CONFIG\config_ids::SYS_CONFIG_DB_PASSWORD, 'dsjgfasudzfsvad'), array(SYSTEM\CONFIG\config_ids::SYS_CONFIG_DB_DBNAME, 'host_uVote'), array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_PATH_SYSTEMPATHREL, '../system/'), - array(\SYSTEM\CONFIG\config_ids::SYS_SAI_CONFIG_NAVIMG, '/web/system/sai/page/default_page/img/logo.png'),//not working, cuz paths are not set yet! \SYSTEM\WEBPATH(new \SYSTEM\PSAI(),'page/default_page/img/logo.png')), + array(\SYSTEM\CONFIG\config_ids::SYS_SAI_CONFIG_NAVIMG, '/web/system/sai/page/img/logo.png'),//not working, cuz paths are not set yet! \SYSTEM\WEBPATH(new \SYSTEM\PSAI(),'page/default_page/img/logo.png')), array(\SYSTEM\CONFIG\config_ids::SYS_SAI_CONFIG_BASEURL, 'http://mojotrollz.eu/web/uVote/sai.php?'), array(\SYSTEM\CONFIG\config_ids::SYS_SAI_CONFIG_TITLE, 'mojotrollz - Admin Area'), array(\SYSTEM\CONFIG\config_ids::SYS_SAI_CONFIG_COPYRIGHT, 'uVote, © WebCraft Media 2013'), diff --git a/index.php b/index.php index 5990967..e972e79 100644 --- a/index.php +++ b/index.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','page_uvote',array_merge($_POST,$_GET),1,false,true)->html(); \ No newline at end of file +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."); \ No newline at end of file