Server IP : 103.119.228.120 / Your IP : 3.144.93.14 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : nobody ( 99) PHP Version : 5.6.40 Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/softaculous/tcexam/ |
Upload File : |
<?php //============================================================+ // File name : tce_db_config.php // Begin : 2001-09-02 // Last Update : 2023-11-30 // // Description : Database congiguration file. // // Author: Nicola Asuni // // (c) Copyright: // Nicola Asuni // Tecnick.com LTD // www.tecnick.com // info@tecnick.com // // License: // Copyright (C) 2004-2024 Nicola Asuni - Tecnick.com LTD // See LICENSE.TXT file for more information. //============================================================+ /** * @file * Database congiguration file. * @package com.tecnick.tcexam.shared.cfg * @author Nicola Asuni * @since 2001-09-02 */ /** * database type (MYSQL, POSTGRESQL, ORACLE) */ define('K_DATABASE_TYPE', 'MYSQL'); /** * database Host name (eg: localhost) */ define('K_DATABASE_HOST', '[[softdbhost]]'); /** * database port (eg: 3306, 5432, 1521) * * NOTE: For MYSQL database type, set this constant to NULL to be able to use the MySQL socket path defined by the * mysqli.default_socket PHP value. For example, in Apache: * php_value mysqli.default_socket "/path/to/mysql.sock" */ define('K_DATABASE_PORT', '3306'); /** * database name (TCExam) */ define('K_DATABASE_NAME', '[[softdb]]'); /** * database user name */ define('K_DATABASE_USER_NAME', '[[softdbuser]]'); /** * database user password */ define('K_DATABASE_USER_PASSWORD', '[[softdbpass]]'); /** * prefix for database tables names */ define('K_TABLE_PREFIX', '[[dbprefix]]'); // ----------------------------------------------------------------------------- // --- DATABASE TABLES NAMES (DO NOT CHANGE) ----------------------------------- // ----------------------------------------------------------------------------- /** * This table stores information about users' Web sessions. */ define('K_TABLE_SESSIONS', K_TABLE_PREFIX.'sessions'); /** * This table contains all registered users' data, including system administrators and a special 'anonymous' user. */ define('K_TABLE_USERS', K_TABLE_PREFIX.'users'); /** * Table for modules. A module is a container for subjects. */ define('K_TABLE_MODULES', K_TABLE_PREFIX.'modules'); /** * This table contains all tests subjects (topics, branch of studies). */ define('K_TABLE_SUBJECTS', K_TABLE_PREFIX.'subjects'); /** * This table contains all questions relative to specific subjects. */ define('K_TABLE_QUESTIONS', K_TABLE_PREFIX.'questions'); /** * This table contains all answers relative to a specific questions. */ define('K_TABLE_ANSWERS', K_TABLE_PREFIX.'answers'); /** * This table contains all tests data. */ define('K_TABLE_TESTS', K_TABLE_PREFIX.'tests'); /** * This table contains the list of tests generated for each user. */ define('K_TABLE_TEST_USER', K_TABLE_PREFIX.'tests_users'); /** * This table counts the number of generated tests. */ define('K_TABLE_TESTUSER_STAT', K_TABLE_PREFIX.'testuser_stat'); /** * This table lists the type and quantity of the questions associated to each set of subjects selected for a particular test. */ define('K_TABLE_TEST_SUBJSET', K_TABLE_PREFIX.'test_subject_set'); /** * This table contains all tests subjects (topics, branch of studies). */ define('K_TABLE_SUBJECT_SET', K_TABLE_PREFIX.'test_subjects'); /** * This table contains all questions and user answers relative to a specific test for a specific user. */ define('K_TABLE_TESTS_LOGS', K_TABLE_PREFIX.'tests_logs'); /** * This table contains the list of the selected alternative answers for each multiple-choice question. */ define('K_TABLE_LOG_ANSWER', K_TABLE_PREFIX.'tests_logs_answers'); /** * This table contains users' groups. Each user belongs to one of the groups defined in this table. */ define('K_TABLE_GROUPS', K_TABLE_PREFIX.'user_groups'); /** * This table contains the list of groups to whom each user belongs. */ define('K_TABLE_USERGROUP', K_TABLE_PREFIX.'usrgroups'); /** * This table contains the list of groups enabled for a selected test. */ define('K_TABLE_TEST_GROUPS', K_TABLE_PREFIX.'testgroups'); /** * This table contains the SSL certificates. */ define('K_TABLE_SSLCERTS', K_TABLE_PREFIX.'sslcerts'); /** * This table contains the list of SSL certificates enabled for a selected test. */ define('K_TABLE_TEST_SSLCERTS', K_TABLE_PREFIX.'testsslcerts'); //============================================================+ // END OF FILE //============================================================+