-
Notifications
You must be signed in to change notification settings - Fork 0
/
routing.php
44 lines (30 loc) · 1.05 KB
/
routing.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
if (file_exists(__DIR__ . '/' . $_SERVER['REQUEST_URI'])) {
return false; // serve the requested resource as-is.
//} elseif ( preg_match('/\/respondimo\/SLIR\//', $_SERVER['REQUEST_URI']) ) {
// include_once $_SERVER['DOCUMENT_ROOT'].'/respondimo/SLIR/index.php';
/*
// if ( preg_match('/\?R/', $_SERVER['REQUEST_URI']) ) {
//
// if (isset($_COOKIE['javascript'])) {
// //1px transparent gif
// header('Content-Type: image/gif');
// echo base64_decode('R0lGODlhAQABAJAAAP8AAAAAACH5BAUQAAAALAAAAAABAAEAAAICBAEAOw==');
// }
//
// } elseif ( preg_match('/r\.gif/', $_SERVER['REQUEST_URI']) ) {
//
// header('r.gif');
//
// } elseif ( preg_match('/filename=/', $_SERVER['REQUEST_URI']) ) {
//
// return false;
//
// } else {
//echo "--".$_SERVER['REQUEST_URI'];
// include_once $_SERVER['DOCUMENT_ROOT'].'/SLIR/index.php';
// }
*/
} else {
return false;
}