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:
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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user