cfg
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_AUTH_ADMIN_ANSWERS = \K_AUTH_OPERATOR
- Required user's level to access "answer editor".
- K_AUTH_ADMIN_DIRS = \K_AUTH_OPERATOR
- Required user's level to create and delete directories.
- K_AUTH_ADMIN_FILEMANAGER = \K_AUTH_OPERATOR
- Required user's level to access file manager for multimedia files.
- K_AUTH_ADMIN_GROUPS = \K_AUTH_ADMINISTRATOR
- Required user's level to access "group editor".
- K_AUTH_ADMIN_IMPORT = \K_AUTH_ADMINISTRATOR
- Required user's level to import questions.
- K_AUTH_ADMIN_INFO = 0
- Required user's level to access "TCExam information".
- K_AUTH_ADMIN_MODULES = \K_AUTH_OPERATOR
- Required user's level to access "module editor".
- K_AUTH_ADMIN_OMR_IMPORT = \K_AUTH_OPERATOR
- Required user's level to import OMR answers.
- K_AUTH_ADMIN_ONLINE_USERS = \K_AUTH_OPERATOR
- Required user's level to display online users.
- K_AUTH_ADMIN_QUESTIONS = \K_AUTH_OPERATOR
- Required user's level to access "question editor".
- K_AUTH_ADMIN_RATING = \K_AUTH_OPERATOR
- Required user's level to manually rate free text answers.
- K_AUTH_ADMIN_RESULTS = \K_AUTH_OPERATOR
- Required user's level to display results.
- K_AUTH_ADMIN_SSLCERT = \K_AUTH_OPERATOR
- Required user's level to edit SSL certificates.
- K_AUTH_ADMIN_SUBJECTS = \K_AUTH_OPERATOR
- Required user's level to access "subject editor".
- K_AUTH_ADMIN_TCECODE = \K_AUTH_OPERATOR
- Required user's level to access "tcecode editor".
- K_AUTH_ADMIN_TESTS = \K_AUTH_OPERATOR
- Required user's level to access "test editor".
- K_AUTH_ADMIN_UPLOAD_IMAGES = \K_AUTH_OPERATOR
- Required user's level to upload images.
- K_AUTH_ADMIN_USERS = \K_AUTH_ADMINISTRATOR
- Required user's level to access "user editor".
- K_AUTH_ADMINISTRATOR = 10
- Administrator level.
- K_AUTH_BACKUP = \K_AUTH_ADMINISTRATOR
- Required user's level to import questions.
- K_AUTH_DELETE_GROUPS = \K_AUTH_ADMINISTRATOR
- Required user's level to delete user groups.
- K_AUTH_DELETE_MEDIAFILE = \K_AUTH_OPERATOR
- Required user's level to delete multimedia files.
- K_AUTH_DELETE_USERS = \K_AUTH_ADMINISTRATOR
- Required user's level to delete users.
- K_AUTH_EXPORT_USERS = \K_AUTH_ADMINISTRATOR
- Required user's level to export users.
- K_AUTH_IMPORT_USERS = \K_AUTH_ADMINISTRATOR
- Required user's level to import users.
- K_AUTH_INDEX = \K_AUTH_OPERATOR
- Required user's level to access index page.
- K_AUTH_MOVE_GROUPS = \K_AUTH_ADMINISTRATOR
- Required user's level to move users from one group to another.
- K_AUTH_OPERATOR = 5
- Operator level.
- K_AUTH_RENAME_MEDIAFILE = \K_AUTH_OPERATOR
- Required user's level to rename multimedia files.
- K_AUTH_SSL_LEVEL = \false
- Minimum page level for which a valid client SSL certificate is required.
- K_AUTH_SSLIDS = ''
- Comma separated lit of SSL certificates IDs required to access pages with K_AUTH_SSL_LEVEL level or more.
- 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_AUTH_ADMIN_ANSWERS
Required user's level to access "answer editor".
public mixed K_AUTH_ADMIN_ANSWERS =
\K_AUTH_OPERATOR
K_AUTH_ADMIN_DIRS
Required user's level to create and delete directories.
public mixed K_AUTH_ADMIN_DIRS =
\K_AUTH_OPERATOR
K_AUTH_ADMIN_FILEMANAGER
Required user's level to access file manager for multimedia files.
public mixed K_AUTH_ADMIN_FILEMANAGER =
\K_AUTH_OPERATOR
K_AUTH_ADMIN_GROUPS
Required user's level to access "group editor".
public mixed K_AUTH_ADMIN_GROUPS =
\K_AUTH_ADMINISTRATOR
K_AUTH_ADMIN_IMPORT
Required user's level to import questions.
public mixed K_AUTH_ADMIN_IMPORT =
\K_AUTH_ADMINISTRATOR
K_AUTH_ADMIN_INFO
Required user's level to access "TCExam information".
public mixed K_AUTH_ADMIN_INFO =
0
K_AUTH_ADMIN_MODULES
Required user's level to access "module editor".
public mixed K_AUTH_ADMIN_MODULES =
\K_AUTH_OPERATOR
K_AUTH_ADMIN_OMR_IMPORT
Required user's level to import OMR answers.
public mixed K_AUTH_ADMIN_OMR_IMPORT =
\K_AUTH_OPERATOR
K_AUTH_ADMIN_ONLINE_USERS
Required user's level to display online users.
public mixed K_AUTH_ADMIN_ONLINE_USERS =
\K_AUTH_OPERATOR
K_AUTH_ADMIN_QUESTIONS
Required user's level to access "question editor".
public mixed K_AUTH_ADMIN_QUESTIONS =
\K_AUTH_OPERATOR
K_AUTH_ADMIN_RATING
Required user's level to manually rate free text answers.
public mixed K_AUTH_ADMIN_RATING =
\K_AUTH_OPERATOR
K_AUTH_ADMIN_RESULTS
Required user's level to display results.
public mixed K_AUTH_ADMIN_RESULTS =
\K_AUTH_OPERATOR
K_AUTH_ADMIN_SSLCERT
Required user's level to edit SSL certificates.
public mixed K_AUTH_ADMIN_SSLCERT =
\K_AUTH_OPERATOR
K_AUTH_ADMIN_SUBJECTS
Required user's level to access "subject editor".
public mixed K_AUTH_ADMIN_SUBJECTS =
\K_AUTH_OPERATOR
K_AUTH_ADMIN_TCECODE
Required user's level to access "tcecode editor".
public mixed K_AUTH_ADMIN_TCECODE =
\K_AUTH_OPERATOR
K_AUTH_ADMIN_TESTS
Required user's level to access "test editor".
public mixed K_AUTH_ADMIN_TESTS =
\K_AUTH_OPERATOR
K_AUTH_ADMIN_UPLOAD_IMAGES
Required user's level to upload images.
public mixed K_AUTH_ADMIN_UPLOAD_IMAGES =
\K_AUTH_OPERATOR
K_AUTH_ADMIN_USERS
Required user's level to access "user editor".
public mixed K_AUTH_ADMIN_USERS =
\K_AUTH_ADMINISTRATOR
K_AUTH_ADMINISTRATOR
Administrator level.
public mixed K_AUTH_ADMINISTRATOR =
10
K_AUTH_BACKUP
Required user's level to import questions.
public mixed K_AUTH_BACKUP = \K_AUTH_ADMINISTRATOR
K_AUTH_DELETE_GROUPS
Required user's level to delete user groups.
public mixed K_AUTH_DELETE_GROUPS =
\K_AUTH_ADMINISTRATOR
K_AUTH_DELETE_MEDIAFILE
Required user's level to delete multimedia files.
public mixed K_AUTH_DELETE_MEDIAFILE =
\K_AUTH_OPERATOR
K_AUTH_DELETE_USERS
Required user's level to delete users.
public mixed K_AUTH_DELETE_USERS =
\K_AUTH_ADMINISTRATOR
K_AUTH_EXPORT_USERS
Required user's level to export users.
public mixed K_AUTH_EXPORT_USERS =
\K_AUTH_ADMINISTRATOR
K_AUTH_IMPORT_USERS
Required user's level to import users.
public mixed K_AUTH_IMPORT_USERS =
\K_AUTH_ADMINISTRATOR
K_AUTH_INDEX
Required user's level to access index page.
public mixed K_AUTH_INDEX = \K_AUTH_OPERATOR
K_AUTH_MOVE_GROUPS
Required user's level to move users from one group to another.
public mixed K_AUTH_MOVE_GROUPS =
\K_AUTH_ADMINISTRATOR
K_AUTH_OPERATOR
Operator level.
public mixed K_AUTH_OPERATOR =
5
K_AUTH_RENAME_MEDIAFILE
Required user's level to rename multimedia files.
public mixed K_AUTH_RENAME_MEDIAFILE =
\K_AUTH_OPERATOR
K_AUTH_SSL_LEVEL
Minimum page level for which a valid client SSL certificate is required.
public mixed K_AUTH_SSL_LEVEL =
\false
Use false or a level above 10 to disable the control. Use 0 to enable for all area. Use 10 to enable just for the ADMIN pages.
K_AUTH_SSLIDS
Comma separated lit of SSL certificates IDs required to access pages with K_AUTH_SSL_LEVEL level or more.
public mixed K_AUTH_SSLIDS = ''
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'