1
0
mirror of https://github.com/serghey-rodin/vesta.git synced 2025-03-12 04:36:25 -07:00

setting content type to fix possible XSS attack vector

This commit is contained in:
Serghey Rodin 2019-04-12 17:20:45 +03:00
parent 576a0003da
commit c28c5d29a3

@ -1,8 +1,8 @@
<?php
// Init
//error_reporting(NULL);
header('Content-Type: application/json');
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
include($_SERVER['DOCUMENT_ROOT']."/file_manager/fm_core.php");