| Server IP : 35.236.43.222 / Your IP : 216.73.216.143 Web Server : Apache System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64 User : deploy ( 1002) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/mastersystem.app/public/ |
Upload File : |
<?php
/**
* @package koko-analytics
* @license GPL-3.0+
* @author Danny van Kooten
*
* This file acts as an optimized endpoint file for the Koko Analytics plugin.
*/
// path to pageviews.php file in uploads directory
define('KOKO_ANALYTICS_UPLOAD_DIR', 'wp-content/uploads/koko-analytics');
define('KOKO_ANALYTICS_TIMEZONE', '+00:00');
// required files
require 'wp-includes/plugin.php';
require 'wp-content/plugins/koko-analytics/src/Resources/functions/collect.php';
// check if IP address is on list of addresses to ignore
if (!isset($_POST['test']) && in_array(KokoAnalytics\get_client_ip(), array (
))) {
exit;
}
// function call to collect the request data
KokoAnalytics\collect_request();