Subversion Repositories SvarDOS

Rev

Rev 835 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 835 Rev 847
Line 17... Line 17...
17
chdir('download');
17
chdir('download');
18
$dir = '.';
18
$dir = '.';
19
 
19
 
20
if (!empty($_GET['dir'])) {
20
if (!empty($_GET['dir'])) {
21
  $dir = $_GET['dir'];
21
  $dir = $_GET['dir'];
22
  if (!preg_match('/^[0-9]{8}(\.staging){0,1}$/', $dir)) {
22
  if (!preg_match('/^[0-9]{8}$/', $dir)) {
23
    echo '<p style="font-size: 2em; text-align: center; font-weight: bold;">I AM WATCHING YOU</p>';
23
    echo '<p style="font-size: 2em; text-align: center; font-weight: bold;">I AM WATCHING YOU</p>';
24
    exit(0);
24
    exit(0);
25
  }
25
  }
26
}
26
}
27
 
27