Table of contents
Source: admin/config.default/tce_config.php
Configuration file for administration section.
Constants
K_ADMIN_THEME
Theme for the admin area
const K_ADMIN_THEME = 'default'
Source: admin/config.default/tce_config.php:121
K_ALLOWED_UPLOAD_EXTENSIONS
List of allowed file types for upload (remove all extensions to disable upload).
FOR SERVER SECURITY DO NOT ADD EXECUTABLE FILE TYPES HERE Media uploads always reject markup and script types (e.g. svgz, xml, html, js); ‘svg’ files are accepted only when they contain static graphics saved as “Plain SVG” (no scripts, event handlers, external references or editor-specific namespaces); ‘xml’ is used only by the user and question importers.
const K_ALLOWED_UPLOAD_EXTENSIONS = \serialize(['csv', 'tsv', 'xml', 'txt', 'png', 'gif', 'jpg', 'jpeg', 'svg', 'mp3', 'mid', 'oga', 'ogg', 'wav', 'wma', 'avi', 'flv', 'm2v', 'mpeg', 'mpeg4', 'mpg', 'mpg2', 'mpv', 'ogm', 'ogv', 'vid', 'pfx', 'pem', 'crt'])
Source: admin/config.default/tce_config.php:54
K_AVAILABLE_FONTS
Defines a serialized array of available fonts for PDF.
const K_AVAILABLE_FONTS = \serialize(['courier' => 'courier', 'helvetica' => 'helvetica', 'times' => 'times', 'symbol' => 'symbol', 'zapfdingbats' => 'zapfdingbats', 'DejaVuSans' => 'dejavusans,sans', 'DejaVuSansCondensed' => 'dejavusanscondensed,sans', 'DejaVuSansMono' => 'dejavusansmono,monospace', 'DejaVuSerif' => 'dejavuserif,serif', 'DejaVuSerifCondensed' => 'dejavuserifcondensed,serif', 'FreeMono' => 'freemono,monosp
// … truncated, see source
Source: admin/config.default/tce_config.php:200
K_CLOCK_IN_UTC
If true display admin clock in UTC (GMT).
const K_CLOCK_IN_UTC = \false
Source: admin/config.default/tce_config.php:136
K_DISPLAY_PDFTEXT_BUTTON
If true display an additional button to print only the TEXT answers on all users’ results.
const K_DISPLAY_PDFTEXT_BUTTON = \false
Source: admin/config.default/tce_config.php:146
K_DOWNLOAD_BACKUPS
If true enable the backup download.
const K_DOWNLOAD_BACKUPS = \true
Source: admin/config.default/tce_config.php:163
K_ENABLE_CUSTOM_EXPORT
Name of the button to export results in custom format (file: admin/code/tce_export_custom.php).
Set this constant to empty to disable this feature (or if you haven’t set tce_import_custom.php)
const K_ENABLE_CUSTOM_EXPORT = ''
Source: admin/config.default/tce_config.php:158
K_ENABLE_CUSTOM_IMPORT
Name of the option to import questions using a custom format (file: admin/code/tce_import_custom.php).
Set this constant to empty to disable this feature (or if you haven’t set tce_import_custom.php)
const K_ENABLE_CUSTOM_IMPORT = ''
Source: admin/config.default/tce_config.php:152
K_MAX_MEMORY_LIMIT
Max memory limit.
const K_MAX_MEMORY_LIMIT = '512M'
Source: admin/config.default/tce_config.php:34
K_MAX_ROWS_PER_PAGE
Max number of rows to display in tables.
const K_MAX_ROWS_PER_PAGE = 50
Source: admin/config.default/tce_config.php:39
K_MAX_UPLOAD_SIZE
Max size to be uploaded in bytes.
const K_MAX_UPLOAD_SIZE = 25000000
Source: admin/config.default/tce_config.php:44
K_MYSQL_QA_BIN_COLLATION
Binary collation used for the question and answer uniqueness check when K_MYSQL_QA_BIN_UNIQUITY is true.
The collation must be compatible with the character set of your database columns: use ‘utf8_bin’ for utf8 (utf8mb3) columns, or ‘utf8mb4_bin’ for utf8mb4 columns.
const K_MYSQL_QA_BIN_COLLATION = 'utf8_bin'
Source: admin/config.default/tce_config.php:175
K_MYSQL_QA_BIN_UNIQUITY
If true check the unicity of question and answer descriptions using a binary collation when using MySQL.
const K_MYSQL_QA_BIN_UNIQUITY = \true
Source: admin/config.default/tce_config.php:168
K_OMR_PATH_ZBARIMG
Path to zbarimg executable (/usr/bin/zbarimg).
This application is required to decode barcodes on scanned offline test pages. For installation instructions: http://zbar.sourceforge.net/ On Debian/Ubuntu you can easily install zbarimg using the following command: “sudo apt-get install zbar-tools”
const K_OMR_PATH_ZBARIMG = '/usr/bin/zbarimg'
Source: admin/config.default/tce_config.php:195
K_SELECT_SUBSTRING
Max number of chars to display on a selection box.
const K_SELECT_SUBSTRING = 40
Source: admin/config.default/tce_config.php:141
K_TCEXAM_AUTHOR
TCExam Author.
const K_TCEXAM_AUTHOR = 'Nicola Asuni - Tecnick.com LTD'
Source: admin/config.default/tce_config.php:101
K_TCEXAM_DESCRIPTION
TCExam description.
const K_TCEXAM_DESCRIPTION = 'TCExam by Tecnick.com'
Source: admin/config.default/tce_config.php:96
K_TCEXAM_ICON
Relative path to html icon.
const K_TCEXAM_ICON = '../../favicon.ico'
Source: admin/config.default/tce_config.php:116
K_TCEXAM_KEYWORDS
Default html meta keywords.
const K_TCEXAM_KEYWORDS = 'TCExam, eExam, e-exam, web, exam'
Source: admin/config.default/tce_config.php:111
K_TCEXAM_REPLY_TO
Reply-to meta tag.
const K_TCEXAM_REPLY_TO = ''
Source: admin/config.default/tce_config.php:106
K_TCEXAM_STYLE
Path to public CSS stylesheet for LTR languages.
const K_TCEXAM_STYLE = \K_PATH_STYLE_SHEETS . \K_ADMIN_THEME . '.css'
Source: admin/config.default/tce_config.php:126
K_TCEXAM_STYLE_RTL
Full path to CSS stylesheet for RTL languages.
const K_TCEXAM_STYLE_RTL = \K_PATH_STYLE_SHEETS . \K_ADMIN_THEME . '_rtl.css'
Source: admin/config.default/tce_config.php:131
K_TCEXAM_TITLE
TCExam title.
const K_TCEXAM_TITLE = 'TCExam'
Source: admin/config.default/tce_config.php:91
K_UTF8_NORMALIZATION_MODE
Set the UTF-8 Normalization mode for question and answer descriptions: NONE=None; C=Normalization Form C (NFC) - Canonical Decomposition followed by Canonical Composition; D=Normalization Form D (NFD) - Canonical Decomposition; KC=Normalization Form KC (NFKC) - Compatibility Decomposition, followed by Canonical Composition; KD=Normalization Form KD (NFKD) - Compatibility Decomposition; CUSTOM=Custom normalization using user defined function ‘user_utf8_custom_normalizer’.
const K_UTF8_NORMALIZATION_MODE = 'NONE'