diff options
Diffstat (limited to 'cache/headers.php')
-rw-r--r-- | cache/headers.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cache/headers.php b/cache/headers.php index af6b80f..c197de5 100644 --- a/cache/headers.php +++ b/cache/headers.php @@ -2,11 +2,7 @@ function __electrode_end_hooks() { global $_PHPID; - $arr = xdebug_get_headers(); - $arr[] = "Cache-Control: private, no-cache, no-store, must-revalidate"; - $arr[] = "Expires: -1"; - $arr[] = "Pragma: no-cache"; - file_put_contents("./cache/HAD_$_PHPID.json", json_encode($arr, JSON_PRETTY_PRINT)); + file_put_contents("../cache/HAD_$_PHPID.json", json_encode(xdebug_get_headers(), JSON_PRETTY_PRINT)); } $__electrode = true; |