diff options
author | Minteck <nekostarfan@gmail.com> | 2021-08-07 20:15:23 +0200 |
---|---|---|
committer | Minteck <nekostarfan@gmail.com> | 2021-08-07 20:15:23 +0200 |
commit | c90ebfa1c84e1ba668a65d0325e96d201c4abbf8 (patch) | |
tree | 3a4e80dc0461ad1c6e0c763aad669d39a458ebe3 /cache/headers.php | |
parent | 981b80066504cf94224f0fd431281edb740f2669 (diff) | |
download | electrode-c90ebfa1c84e1ba668a65d0325e96d201c4abbf8.tar.gz electrode-c90ebfa1c84e1ba668a65d0325e96d201c4abbf8.tar.bz2 electrode-c90ebfa1c84e1ba668a65d0325e96d201c4abbf8.zip |
Electrode is stable!
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; |