'; $i++; } exit; */ if($_GET['action'] && file_exists($_GET['action'].'.php')) { include_once(BASE_PATH . '/db.php'); include_once(BASE_PATH . '/api/' . $_GET['action'].'.php'); } else { http_response_code(500); exit; } ?>