Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
8ba9ae8b
Commit
8ba9ae8b
authored
Dec 17, 2018
by
Carsten Rose
Browse files
Remove report/Define.php.
parent
8c14944d
Pipeline
#1169
passed with stage
in 1 minute and 45 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/Source/core/Constants.php
View file @
8ba9ae8b
...
...
@@ -15,6 +15,8 @@ const GFX_INFO = 'typo3conf/ext/qfq/Resources/Public/icons/note.gif';
const
API_DIR
=
'typo3conf/ext/qfq/Source/api'
;
const
API_DIR_EXT
=
'Source/api'
;
const
PATH_ICONS
=
'typo3conf/ext/qfq/Resources/Public/icons'
;
const
QFQ_TEMP_FILE_PATTERN
=
'qfq.split.XXXXX'
;
const
QFQ_TEMP_SOURCE
=
'.temp.source'
;
...
...
extension/Source/core/report/Define.php
deleted
100644 → 0
View file @
8c14944d
<?php
define
(
"EXTKEY"
,
"qfq"
);
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()
//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");
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"
);
// Definitions for sanitize() strip_tags
define
(
"TAGS_NONE"
,
"none"
);
define
(
"TAGS_MARKUP"
,
"markup"
);
define
(
"TAGS_CUSTOM"
,
"custom"
);
define
(
"TAGS_ALL"
,
"all"
);
// Definitions for sanitize() reaction on changed variables by sanitize them
define
(
"TAGS_EXCEPTION"
,
"exception"
);
define
(
"TAGS_SANITIZE"
,
"sanitize"
);
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"
);
//define("PATH_ICONS", "typo3conf/ext/qfq/Resources/Public/icons/");
const
PATH_ICONS
=
'typo3conf/ext/qfq/Resources/Public/icons'
;
// Definitions to allow successful include of ext_localconf.
//define( 'TYPO3_MODE', '1' );
//define( 'FORMREPORT', '1' );
extension/Source/core/report/Link.php
View file @
8ba9ae8b
...
...
@@ -25,7 +25,6 @@ namespace qfq;
//use qfq;
require_once
(
__DIR__
.
'/Define.php'
);
require_once
(
__DIR__
.
'/../store/Store.php'
);
require_once
(
__DIR__
.
'/../store/Sip.php'
);
require_once
(
__DIR__
.
'/../exceptions/UserReportException.php'
);
...
...
extension/Source/core/report/Report.php
View file @
8ba9ae8b
...
...
@@ -25,9 +25,7 @@ namespace qfq;
//use qfq;
require_once
(
__DIR__
.
'/Define.php'
);
require_once
(
__DIR__
.
'/Variables.php'
);
//require_once(__DIR__ . '/Error.php');
require_once
(
__DIR__
.
'/../database/Database.php'
);
require_once
(
__DIR__
.
'/Link.php'
);
require_once
(
__DIR__
.
'/SendMail.php'
);
...
...
@@ -36,7 +34,6 @@ require_once(__DIR__ . '/../Evaluate.php');
require_once
(
__DIR__
.
'/../helper/KeyValueStringParser.php'
);
require_once
(
__DIR__
.
'/../helper/Token.php'
);
require_once
(
__DIR__
.
'/Thumbnail.php'
);
//require_once(__DIR__ . '/Monitor.php');
const
DEFAULT_QUESTION
=
'question'
;
const
DEFAULT_ICON
=
'icon'
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment