-
Notifications
You must be signed in to change notification settings - Fork 0
/
consts.inc.php
62 lines (54 loc) · 2.17 KB
/
consts.inc.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?php
define("USER_AGENT_GOOGLE_BOT", "Googlebot/2.1 (+http://www.google.com/bot.html)");
define("USER_AGENT_SAFARI_IPAD", "Mozilla/5.0 (iPad; U; CPU OS 3_2_1 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Mobile/7B405");
define("USER_AGENT_CHROME_LINUX", "Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/31.0.1650.63 Chrome/31.0.1650.63 Safari/537.36");
define('DEFAULT_URL', 'http://www.example.com/foo.php?bar=baz');
define("COND_COMPARE_INT_EQ", 1);
define("COND_COMPARE_INT_GTE", 2);
define("COND_COMPARE_INT_GT", 3);
define("COND_COMPARE_INT_LT", 4);
define("COND_COMPARE_INT_LTE", 5);
define("COND_COMPARE_STR_LT", 6);
define("COND_COMPARE_STR_GT", 7);
define("COND_COMPARE_STR_EQ", 8);
define("COND_COMPARE_STR_LTE", 9);
define("COND_COMPARE_STR_GTE", 10);
define("COND_COMPARE_REGEX", 11);
define("LOG_NORMAL", "log-normal");
define("LOG_NORMAL_PASS", "log-normal-pass");
define("LOG_NORMAL_FAIL", "log-normal-fail");
define("LOG_FAILURE", "log-failure");
define("LOG_SUCCESS", "log-success");
define("LOG_COMMENT", "log-comment");
define("LOG_HELP", "log-help");
define("LOG_URL", "log-url");
// Not entirely sure what this is for...
define("SMALL_EXPANSION", 5);
define("BACKREF_REWRITE_RULE", 1);
define("BACKREF_REWRITE_COND", 2);
define("FLAG_COND_NONE", 0);
define("FLAG_COND_NC", 1);
define("FLAG_COND_OR", 2);
define("FLAG_COND_NV", 4);
define("FLAG_RULE_NONE", 0);
define("FLAG_RULE_ESCAPE", 1);
define("FLAG_RULE_CHAIN", 2);
define("FLAG_RULE_COOKIE", 4);
define("FLAG_RULE_DISCARDPATH", 8);
define("FLAG_RULE_ENV", 16);
define("FLAG_RULE_FORBIDDEN", 32);
define("FLAG_RULE_GONE", 64);
define("FLAG_RULE_HANDLER", 128);
define("FLAG_RULE_LAST", 256);
define("FLAG_RULE_NEXT", 512);
define("FLAG_RULE_NOCASE", 1024);
define("FLAG_RULE_NOESCAPE", 2048);
define("FLAG_RULE_NOSUBREQ", 4096);
define("FLAG_RULE_PROXY", 8192);
define("FLAG_RULE_PASSTHRU", 16384);
define("FLAG_RULE_QSAPPEND", 32768);
define("FLAG_RULE_QSDISCARD", 65536);
define("FLAG_RULE_REDIRECT", 131072);
define("FLAG_RULE_END", 262144);
define("FLAG_RULE_SKIP", 524288);
define("FLAG_RULE_TYPE", 1048576);