files-admin-config-default-tce-config

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.

tce_config.php

Tags
file

Configuration file for administration section.

brief

TCExam Configuration for Administration Area

author

Nicola Asuni

since
2001-09-02

Table of Contents

Constants

K_ADMIN_THEME  = 'default'
Theme for the admin area
K_ALLOWED_UPLOAD_EXTENSIONS  = \serialize(array('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'))
List of allowed file types for upload (remove all extensions to disable upload).
K_AVAILABLE_FONTS  = \serialize(array('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,monospace', 'FreeSans' => 'freesans,sans', 'FreeSerif' => 'freeserif,serif'))
Defines a serialized array of available fonts for PDF.
K_CLOCK_IN_UTC  = \false
If true display admin clock in UTC (GMT).
K_DISPLAY_PDFTEXT_BUTTON  = \false
If true display an additional button to print only the TEXT answers on all users' results.
K_DOWNLOAD_BACKUPS  = \true
If true enable the backup download.
K_ENABLE_CUSTOM_EXPORT  = ''
Name of the button to export results in custom format (file: admin/code/tce_export_custom.php).
K_ENABLE_CUSTOM_IMPORT  = ''
Name of the option to import questions using a custom format (file: admin/code/tce_import_custom.php).
K_MAX_MEMORY_LIMIT  = '512M'
Max memory limit.
K_MAX_ROWS_PER_PAGE  = 50
Max number of rows to display in tables.
K_MAX_UPLOAD_SIZE  = 25000000
Max size to be uploaded in bytes.
K_MYSQL_QA_BIN_UNIQUITY  = \true
If true check the unicity of question and answer descriptions using utf8_bin collation when using MySQL.
K_OMR_PATH_ZBARIMG  = '/usr/bin/zbarimg'
Path to zbarimg executable (/usr/bin/zbarimg).
K_SELECT_SUBSTRING  = 40
Max number of chars to display on a selection box.
K_TCEXAM_AUTHOR  = 'Nicola Asuni - Tecnick.com LTD'
TCExam Author.
K_TCEXAM_DESCRIPTION  = 'TCExam by Tecnick.com'
TCExam description.
K_TCEXAM_ICON  = '../../favicon.ico'
Relative path to html icon.
K_TCEXAM_KEYWORDS  = 'TCExam, eExam, e-exam, web, exam'
Default html meta keywords.
K_TCEXAM_REPLY_TO  = ''
Reply-to meta tag.
K_TCEXAM_STYLE  = \K_PATH_STYLE_SHEETS . \K_ADMIN_THEME . '.css'
Path to public CSS stylesheet for LTR languages.
K_TCEXAM_STYLE_RTL  = \K_PATH_STYLE_SHEETS . \K_ADMIN_THEME . '_rtl.css'
Full path to CSS stylesheet for RTL languages.
K_TCEXAM_TITLE  = 'TCExam'
TCExam title.
K_UTF8_NORMALIZATION_MODE  = 'NONE'
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'.

Constants

K_ADMIN_THEME

Theme for the admin area

public mixed K_ADMIN_THEME = 'default'

K_ALLOWED_UPLOAD_EXTENSIONS

List of allowed file types for upload (remove all extensions to disable upload).

public mixed K_ALLOWED_UPLOAD_EXTENSIONS = \serialize(array('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'))

FOR SERVER SECURITY DO NOT ADD EXECUTABLE FILE TYPES HERE

K_AVAILABLE_FONTS

Defines a serialized array of available fonts for PDF.

public mixed K_AVAILABLE_FONTS = \serialize(array('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,monospace', 'FreeSans' => 'freesans,sans', 'FreeSerif' => 'freeserif,serif'))

K_CLOCK_IN_UTC

If true display admin clock in UTC (GMT).

public mixed K_CLOCK_IN_UTC = \false

K_DISPLAY_PDFTEXT_BUTTON

If true display an additional button to print only the TEXT answers on all users' results.

public mixed K_DISPLAY_PDFTEXT_BUTTON = \false

K_DOWNLOAD_BACKUPS

If true enable the backup download.

public mixed K_DOWNLOAD_BACKUPS = \true

K_ENABLE_CUSTOM_EXPORT

Name of the button to export results in custom format (file: admin/code/tce_export_custom.php).

public mixed K_ENABLE_CUSTOM_EXPORT = ''

Set this constant to empty to disable this feature (or if you haven't set tce_import_custom.php)

K_ENABLE_CUSTOM_IMPORT

Name of the option to import questions using a custom format (file: admin/code/tce_import_custom.php).

public mixed K_ENABLE_CUSTOM_IMPORT = ''

Set this constant to empty to disable this feature (or if you haven't set tce_import_custom.php)

K_MAX_MEMORY_LIMIT

Max memory limit.

public mixed K_MAX_MEMORY_LIMIT = '512M'

K_MAX_ROWS_PER_PAGE

Max number of rows to display in tables.

public mixed K_MAX_ROWS_PER_PAGE = 50

K_MAX_UPLOAD_SIZE

Max size to be uploaded in bytes.

public mixed K_MAX_UPLOAD_SIZE = 25000000

K_MYSQL_QA_BIN_UNIQUITY

If true check the unicity of question and answer descriptions using utf8_bin collation when using MySQL.

public mixed K_MYSQL_QA_BIN_UNIQUITY = \true

K_OMR_PATH_ZBARIMG

Path to zbarimg executable (/usr/bin/zbarimg).

public mixed K_OMR_PATH_ZBARIMG = '/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"

K_SELECT_SUBSTRING

Max number of chars to display on a selection box.

public mixed K_SELECT_SUBSTRING = 40

K_TCEXAM_AUTHOR

TCExam Author.

public mixed K_TCEXAM_AUTHOR = 'Nicola Asuni - Tecnick.com LTD'

K_TCEXAM_DESCRIPTION

TCExam description.

public mixed K_TCEXAM_DESCRIPTION = 'TCExam by Tecnick.com'

K_TCEXAM_ICON

Relative path to html icon.

public mixed K_TCEXAM_ICON = '../../favicon.ico'

K_TCEXAM_KEYWORDS

Default html meta keywords.

public mixed K_TCEXAM_KEYWORDS = 'TCExam, eExam, e-exam, web, exam'

K_TCEXAM_REPLY_TO

Reply-to meta tag.

public mixed K_TCEXAM_REPLY_TO = ''

K_TCEXAM_STYLE

Path to public CSS stylesheet for LTR languages.

public mixed K_TCEXAM_STYLE = \K_PATH_STYLE_SHEETS . \K_ADMIN_THEME . '.css'

K_TCEXAM_STYLE_RTL

Full path to CSS stylesheet for RTL languages.

public mixed K_TCEXAM_STYLE_RTL = \K_PATH_STYLE_SHEETS . \K_ADMIN_THEME . '_rtl.css'

K_TCEXAM_TITLE

TCExam title.

public mixed K_TCEXAM_TITLE = 'TCExam'

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'.

public mixed K_UTF8_NORMALIZATION_MODE = 'NONE'
On this page
 

© 2004-2024 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy