This commit is contained in:
Lizandro Guarnizo
2026-04-16 23:45:58 -05:00
parent 5de48127f1
commit 9277c0553e
14 changed files with 16 additions and 0 deletions
+1
View File
@@ -5,6 +5,7 @@
* Enfermero: solo puede ver la lista y enviar formularios pre-llenados
*/
require_once 'config/config.php';
if (!defined('APP_ROOT')) { define('APP_ROOT', __DIR__); }
if (!isUserLoggedIn()) { header('Location: login.php'); exit; }
if (isEnfermero() && !enfermeraId()) { header('Location: enfermero_portal.php'); exit; }
header('Cache-Control: no-store, no-cache, must-revalidate');