mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 13:28:41 +00:00
修复非80端口问题;在.config.php中自定义网站;docker build镜像名设为uoj
This commit is contained in:
parent
eb0500bbfa
commit
85de04ff6c
@ -21,6 +21,14 @@ $svn_pwd = rand_str(32);
|
||||
$svn_cert = '--username root --password '.$svn_pwd;
|
||||
|
||||
$config = [
|
||||
'profile' => [
|
||||
'oj-name' => 'Universal Online Judge',
|
||||
'oj-name-short' => 'UOJ',
|
||||
'administrator' => 'admin',
|
||||
'admin-email' => 'admin@uoj',
|
||||
'qq-group' => '',
|
||||
'ICP-license' => ''
|
||||
],
|
||||
'database' => [
|
||||
'database' => 'app_uoj233',
|
||||
'username' => 'root',
|
||||
|
2
install
Normal file → Executable file
2
install
Normal file → Executable file
@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
docker build -f docker/Dockerfile --no-cache=true .
|
||||
docker build -f docker/Dockerfile --no-cache=true . -t uoj
|
||||
|
@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
Session_Start();
|
||||
|
||||
require $_SERVER['DOCUMENT_ROOT'] . '/app/uoj-lib.php';
|
||||
|
||||
require UOJContext::documentRoot().'/app/route.php';
|
||||
|
Loading…
Reference in New Issue
Block a user