File manager - Edit - /home/autoph/public_html/projects/Rating-AutoHub/public/css/logger.tar
Back
logger.php 0000644 00000001317 15030760522 0006536 0 ustar 00 <?php include_once("../../cfg/db.php"); include_once("../controllers/utility.php"); $utility = new Utility(); $server_method = $_SERVER["REQUEST_METHOD"]; $granted_company_ids = $utility->isNotEmpty($_SESSION['user']['company_permissions_implode']) ? $_SESSION['user']['company_permissions_implode'] : '-1' ; if(isset($_REQUEST['apiKey']) ){ $apiKey = $_REQUEST['apiKey']; if($apiKey === '7347482808054211' ){ }else{ $return_arr["message"]=" You are not allowed to do this action."; echo $return_arr["message"]; return; } }else{ $return_arr["message"]=" You are not allowed to do this action."; echo $return_arr["message"]; return; } ?>