comparison php/pseudo.php @ 3116:b2138d9d5df6

Minor
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Wed, 18 Jul 2018 14:15:34 +0100
parents 54df1a21bf84
children 76cffc7ecdee
comparison
equal deleted inserted replaced
3115:b200dfe179b3 3116:b2138d9d5df6
4 header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0"); 4 header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
5 header("Cache-Control: post-check=0, pre-check=0", false); 5 header("Cache-Control: post-check=0, pre-check=0", false);
6 header("Pragma: no-cache"); 6 header("Pragma: no-cache");
7 7
8 if (isset($_GET["prefix"]) == FALSE) { 8 if (isset($_GET["prefix"]) == FALSE) {
9 $prefix = "" 9 $prefix = "";
10 } else { 10 } else {
11 $prefix = $_GET["prefix"]; 11 $prefix = $_GET["prefix"];
12 } 12 }
13 13
14 if (isset($_GET["dir"]) == FALSE) { 14 if (isset($_GET["dir"]) == FALSE) {
15 $prefix = "" 15 $prefix = "";
16 } else { 16 } else {
17 $prefix = $_GET["dir"]; 17 $prefix = $_GET["dir"];
18 } 18 }
19 19
20 $files = glob('../saves/' . $prefix . '*.xml'); 20 $files = glob('../saves/' . $prefix . '*.xml');