Define.php 1.95 KB
Newer Older
1
2
<?php

3
define("EXTKEY", "qfq");
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
define("FORMREPORT", "formreport");
define("LENGTH_HASH", 32);

// dbalias of Extension DB
define("DB", "db");
define("T3", "t3");

// Constants for tx_form_pi1.php
define("FR_FORM", "tx_formreport_form");
define("FR_FORMELEMENT", "tx_formreport_formelement");
define("FR_LOCK", "tx_formreport_lock");

define("URL_HASH", "S_hash");
define("URL_RECORD_ID", "N_r");
define("URL_FORMNAME", "S_form");
define("URL_FORM", "URL");


// Definitions for doQuery()
23
24
25
26
27
//define("EXPECT_0", "expect_0");
//define("EXPECT_1", "expect_1");
//define("EXPECT_0_1", "expect_0_1");
//define("EXPECT_GE_0", "expect_ge_0");
//define("EXPECT_GE_1", "expect_ge_1");
28
29
30
31
32
33
34
35
define("EXPECT_SQL_OR_STRING", "expect_sql_or_string");

define("MERGE_NONE", "merge_none");
define("MERGE_ROW", "merge_row");
define("MERGE_ALL", "merge_all");

define("QUERY", "query");

Carsten  Rose's avatar
Carsten Rose committed
36
// Definitions for sanitize() strip_tags
37
38
39
40
41
define("TAGS_NONE", "none");
define("TAGS_MARKUP", "markup");
define("TAGS_CUSTOM", "custom");
define("TAGS_ALL", "all");

Carsten  Rose's avatar
Carsten Rose committed
42
// Definitions for sanitize() reaction on changed variables by sanitize them
43
define("TAGS_EXCEPTION", "exception");
Carsten  Rose's avatar
Carsten Rose committed
44
define("TAGS_SANITIZE", "sanitize");
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
define("TAGS_IGNORE", "ignore");

// define("LIST_MARKUP_TAGS","<br><p><em><strong><code><samp><kbd><var><cite><dfn><abbr><acronym><q>");
define("LIST_MARKUP_TAGS", "<br><p><em><strong><font><b><u><i><span><div><ol><ul><li><code><samp><kbd><var><cite><dfn><abbr><acronym><q>");

define("DEBUG_SQL", "1");
define("DEBUG_BASIC", "2");
define("DEBUG_VERBOSE", "3");
define("DEBUG_EXTREME", "4");

// Set default values - overridden by ext_localconf.php
define("LOCK_RECORDS_INTERVAL", "300");
define("DFLT_UPLOAD_BASE_DIR", "fileadmin");
define("DFLT_UPLOAD_TMP_DIR", "fileadmin/tempfiles");
define("DFLT_UPLOAD_TMP_TTL", "300");

61
define("PATH_ICONS", "typo3conf/ext/qfq/Resources/Public/icons/");
62
63
64
// Definitions to allow successfull include of ext_localconf.
//define( 'TYPO3_MODE', '1' );
//define( 'FORMREPORT', '1' );