diff --git a/api/get_chart_data.php b/api/get_chart_data.php index b1fb526..11b231f 100644 --- a/api/get_chart_data.php +++ b/api/get_chart_data.php @@ -6,6 +6,9 @@ require_once '../config/config.php'; +// Requiere autenticación para evitar acceso público +requireAuthentication(); + header('Content-Type: application/json; charset=utf-8'); header('Access-Control-Allow-Origin: *'); header('Access-Control-Allow-Methods: GET'); diff --git a/api/get_system_config.php b/api/get_system_config.php new file mode 100644 index 0000000..5eebe20 --- /dev/null +++ b/api/get_system_config.php @@ -0,0 +1,9 @@ +