forked from huunam0/web4themis
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.php
More file actions
28 lines (18 loc) · 917 Bytes
/
config.php
File metadata and controls
28 lines (18 loc) · 917 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
//File cấu hình chung cho kì thi - Tran Huu Nam - huunam0@gmail.com
//Thư mục lưu bài làm trực tuyến của học sinh - cấu hình trong Themis giống như thế
$uploadDir = "D:/Chambai/Bainop/online/";
if (substr($uploadDir,-1) != "/") $uploadDir.="/";
//Thư mục đề thi - chuẩn bị trong thư mục này các file account.xml, info.php, index.html và đề thi (*.jpg hoặc *.png hoặc *.pdf hoặc *.docx)
//$contestDir = "contests/tink3kt15p";
$contestDir = "contests/";
if (substr($contestDir,-1) != "/") $contestDir.="/";
//Dòng chữ footer
$footer = "I have a dream @ thptccva.edu.vn";
//Phần đuôi của các tệp bài tập
$duoibai=[".jpg", ".png", ".pdf", ".doc", "docx"];
//Thư mục chứa file logs
$logsDir = $uploadDir . "Logs/";
$logssubDir = $uploadDir . "Logs/";
date_default_timezone_set("Asia/Ho_Chi_Minh");
?>