up
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user