put http headers at start of code
This commit is contained in:
parent
5613c1a82c
commit
94dc08ee8d
@ -1,3 +1,7 @@
|
|||||||
|
<?php
|
||||||
|
header("Cache-Control: no-cache, no-store, must-revalidate");
|
||||||
|
?>
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
@ -13,9 +17,6 @@ function get_color_from_ip($ip) {
|
|||||||
return $css;
|
return $css;
|
||||||
}
|
}
|
||||||
|
|
||||||
//header("refresh: 28");
|
|
||||||
header("Cache-Control: no-cache, no-store, must-revalidate");
|
|
||||||
|
|
||||||
if (!is_dir("data")) {
|
if (!is_dir("data")) {
|
||||||
// initialize everything
|
// initialize everything
|
||||||
mkdir("data", 0755);
|
mkdir("data", 0755);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user