scratch – Diff between revs 29 and 34
?pathlinks?
Rev 29 | Rev 34 | |||
---|---|---|---|---|
Line 34... | Line 34... | |||
34 | break; |
34 | break; |
|
35 | case 'GET': |
35 | case 'GET': |
|
36 | if(!file_exists($userPath)) |
36 | if(!file_exists($userPath)) |
|
37 | return; |
37 | return; |
|
38 | header('Content-Type: text/html; charset=utf-8'); |
38 | header('Content-Type: text/html; charset=utf-8'); |
|
- | 39 | header('Cache-Control: no-cache, no-store, must-revalidate'); |
||
- | 40 | header('Pragma: no-cache'); |
||
- | 41 | header('Expires: 0'); |
||
39 | echo atomized_get_contents($userPath); |
42 | echo atomized_get_contents($userPath); |
|
40 | break; |
43 | break; |
|
41 | } |
44 | } |