/shared/config/tce_config.php

Description

Shared configuration file.

  • since: 2002-02-24
  • link: www.tecnick.com
  • copyright: Copyright © 2004-2006, Tecnick.com S.r.l. - Via Ugo Foscolo n.19 - 09045 Quartu Sant'Elena (CA) - ITALY - www.tecnick.com - info@tecnick.com
  • author: Nicola Asuni
Includes
require_once ('../../shared/config/tce_general_constants.php') (line 64)
require_once ('../../shared/config/tce_paths.php') (line 63)
require_once ('../../shared/code/tce_tmx.php') (line 179)
require_once ('../../shared/code/tce_functions_errmsg.php') (line 163)

error handlers

Constants
K_ANSWER_TEXTAREA_COLS = 70 (line 84)

number of columns for answer textarea

K_ANSWER_TEXTAREA_ROWS = 15 (line 89)

number of rows for answer textarea

K_AVAILABLE_LANGUAGES = serialize(array("br"=>"Brazilian Portuguese","en"=>"English","es"=>"Spanish","it"=>"Italian","tr"=>"Turkish","vn"=>"Vietnamese")) (line 51)

Defines a serialized array of available languages.

Each language is indexed using a 2-letters code.

K_COOKIE_DOMAIN = "" (line 116)

cookie domain

K_COOKIE_EXPIRE = K_SECONDS_IN_DAY (line 131)

expiration time for cookies

K_COOKIE_PATH = "/" (line 121)

cookie path

K_COOKIE_SECURE = FALSE (line 126)

if true use secure cookies

K_ENABLE_JSERRORS = false (line 154)

if true display messages and errors on Javascript popup window

K_ERROR_TYPES = E_ERROR|E_WARNING|E_PARSE (line 144)

define error reporting types for debug

K_LANGUAGE = "en" (line 40)

2-letters code for default language

K_LANGUAGE_SELECTOR = true (line 45)

if true, display a language selector

K_QUESTION_DIFFICULTY_LEVELS = 10 (line 69)

number of difficulty levels for questions

K_QUESTION_LINE_MAX_LENGTH = 70 (line 104)

define max line length in chars for question navigator on test execution interface

K_REDIRECT_LOGIN_MODE = 3 (line 136)

various pages redirection modes after login(valid values are 1,2 and 3).

K_SESSION_LIFE = K_SECONDS_IN_HOUR (line 94)

user's session life time in seconds

K_TCEXAM_VERSION = "4.0.010" (line 35)

TCExam version (do not change)

K_TEST_COMMENT = TRUE (line 109)

if true allows the user to leave a comment on test

K_TEST_INFO_HEIGHT = 400 (line 74)

popup window height in pixels for test info

K_TEST_INFO_WIDTH = 700 (line 79)

popup window width in pixels for test info

K_TIMESTAMP_FORMAT = "Y-m-d H:i:s" (line 99)

define timestamp format using PHP notation

K_USER_LANG = $_REQUEST['lang'] (line 171)
K_USE_ERROR_LOG = FALSE (line 149)

enable error logs (../log/tce_errors.log)

Documentation generated on Tue, 20 Mar 2007 19:06:10 +0100 by phpDocumentor 1.3.0RC3