com-tecnick-tcexam-shared

# Procedural File: tce_config.php Source Location: /shared/config/tce_config.php ## Page Details: Shared configuration file. #### Tags:
author: | Nicola Asuni
copyright: | Copyright &copy; 2004-2009, Nicola Asuni - Tecnick.com S.r.l. - ITALY - www.tecnick.com - info@tecnick.com
link: | www.tecnick.com
since: | 2002-02-24
license: | GNU Affero General Public License
#### Includes: require_once('../../shared/code/tce_tmx.php') [line 247] require_once('../../shared/config/tce_general_constants.php') [line 99] require_once('../../shared/config/tce_paths.php') [line 98] require_once('../../shared/code/tce_functions_errmsg.php') [line 217] Error handlers. ### K_ANSWER_TEXTAREA_COLS [line 119]
`K_ANSWER_TEXTAREA_COLS = 70`
Number of columns for answer textarea. [ Top ] ### K_ANSWER_TEXTAREA_ROWS [line 124]
`K_ANSWER_TEXTAREA_ROWS = 15`
Number of rows for answer textarea. [ Top ] ### K_AVAILABLE_LANGUAGES [line 69]
`K_AVAILABLE_LANGUAGES = serialize(array('ar'=>'Arabian','bg'=>'Bulgarian','br'=>'Brazilian Portuguese','cn'=>'Chinese','de'=>'German','el'=>'Greek','en'=>'English','es'=>'Spanish','fr'=>'French','hi'=>'Hindi','he'=>'Hebrew','hu'=>'Hungarian','id'=>'Indonesian','it'=>'Italian','jp'=>'Japanese','mr'=>'Marathi','ms'=>'Malay (Bahasa Melayu)','nl'=>'Dutch','pl'=>'Polish','ro'=>'Romanian','ru'=>'Russian','tr'=>'Turkish','vn'=>'Vietnamese'))`
Defines a serialized array of available languages. Each language is indexed using a 2-letters code (ISO 639). [ Top ] ### K_COOKIE_DOMAIN [line 156]
`K_COOKIE_DOMAIN = ''`
Cookie domain. [ Top ] ### K_COOKIE_EXPIRE [line 171]
`K_COOKIE_EXPIRE = K_SECONDS_IN_DAY`
Expiration time for cookies. [ Top ] ### K_COOKIE_PATH [line 161]
`K_COOKIE_PATH = '/'`
Cookie path. [ Top ] ### K_COOKIE_SECURE [line 166]
`K_COOKIE_SECURE = false`
If true use secure cookies. [ Top ] ### K_ENABLE_ANSWER_EXPLANATION [line 134]
`K_ENABLE_ANSWER_EXPLANATION = true`
If true enable explanation field for answers. [ Top ] ### K_ENABLE_JSERRORS [line 197]
`K_ENABLE_JSERRORS = false`
If true display messages and errors on Javascript popup window. [ Top ] ### K_ENABLE_QUESTION_EXPLANATION [line 129]
`K_ENABLE_QUESTION_EXPLANATION = true`
If true enable explanation field for questions. [ Top ] ### K_ERROR_TYPES [line 187]
`K_ERROR_TYPES = E_ERROR|E_WARNING|E_PARSE`
Define error reporting types for debug. [ Top ] ### K_EXTEND_TIME_MINUTES [line 209]
`K_EXTEND_TIME_MINUTES = 5`
Default minutes used to extend test duration. [ Top ] ### K_LANGUAGE [line 58]
`K_LANGUAGE = 'en'`
2-letters code for default language. [ Top ] ### K_LANGUAGE_SELECTOR [line 63]
`K_LANGUAGE_SELECTOR = true`
If true, display a language selector. [ Top ] ### K_QUESTION_DIFFICULTY_LEVELS [line 104]
`K_QUESTION_DIFFICULTY_LEVELS = 10`
Number of difficulty levels for questions. [ Top ] ### K_QUESTION_LINE_MAX_LENGTH [line 149]
`K_QUESTION_LINE_MAX_LENGTH = 70`
Define max line length in chars for question navigator on test execution interface. [ Top ] ### K_REDIRECT_LOGIN_MODE [line 179]
`K_REDIRECT_LOGIN_MODE = 1`
Various pages redirection modes after login (valid values are 1, 2 and 3). = relative redirect. = absolute redirect. = html redirect (DEFAULT). [ Top ] ### K_SESSION_LIFE [line 139]
`K_SESSION_LIFE = K_SECONDS_IN_HOUR`
User's session life time in seconds. [ Top ] ### K_TCEXAM_VERSION [line 53]
`K_TCEXAM_VERSION = '9.0.034'`
TCExam version (do not change). [ Top ] ### K_TEST_INFO_HEIGHT [line 109]
`K_TEST_INFO_HEIGHT = 400`
Popup window height in pixels for test info. [ Top ] ### K_TEST_INFO_WIDTH [line 114]
`K_TEST_INFO_WIDTH = 700`
Popup window width in pixels for test info. [ Top ] ### K_TIMESTAMP_FORMAT [line 144]
`K_TIMESTAMP_FORMAT = 'Y-m-d H:i:s'`
Define timestamp format using PHP notation (do not change). [ Top ] ### K_TIMEZONE [line 204]
`K_TIMEZONE = 'UTC'`
Set your own timezone here. Possible values are listed on: http://php.net/manual/en/timezones.php [ Top ] ### K_USE_ERROR_LOG [line 192]
`K_USE_ERROR_LOG = false`
Enable error logs (../log/tce_errors.log). [ Top ] ### PHP_VERSION_ID [line 253]
`PHP_VERSION_ID = (($version{0}*10000)+($version{2}*100)+$version{4})`
[ Top ] Documentation generated on Thu, 05 Nov 2009 15:58:19 +0100 by phpDocumentor 1.4.3