
/**
 * ----------------------------------------------------------
 * Site Statistics Module
 * ----------------------------------------------------------
 * CMS      : JohnCMS 9.8
 * Author   : Indotrik
 * Website  : https://indotrik.web.id
 * Copyright: © 2026 Indotrik
 * ----------------------------------------------------------
 */





Just include in bootstrap.php


include $_SERVER['DOCUMENT_ROOT'] . '/system/tracker.php';

And  add in route.local.php


$router->map(['GET','POST'], '/library', 'modules/library/index.php');