Adds phpdoc comments

main
Yasen Pramatarov 2024-12-04 12:17:30 +02:00
parent 858cc264f1
commit 1f7d42b083
1 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,13 @@
<?php
/**
* Agent cache management
*
* This page ("agents") handles caching for agents. It allows storing, clearing, and retrieving
* agent-related data in the session using AJAX requests. The cache is stored with a timestamp
* to allow time-based invalidation if needed.
*/
$action = $_REQUEST['action'] ?? '';
$agent = $_REQUEST['agent'] ?? '';
require '../app/classes/agent.php';