mirror of
https://github.com/renbaoshuo/UOJ-Luogu-RemoteJudge.git
synced 2024-11-23 19:38:42 +00:00
chore: update cli.php
This commit is contained in:
parent
306cfd77c4
commit
5370ae03f9
@ -1,11 +1,11 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
|
|
||||||
|
|
||||||
$_SERVER['DOCUMENT_ROOT'] = dirname(__DIR__);
|
$_SERVER['DOCUMENT_ROOT'] = dirname(__DIR__);
|
||||||
|
|
||||||
require $_SERVER['DOCUMENT_ROOT'] . '/app/libs/uoj-lib.php';
|
require $_SERVER['DOCUMENT_ROOT'] . '/app/libs/uoj-lib.php';
|
||||||
|
|
||||||
|
error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
|
||||||
|
|
||||||
requirePHPLib('luogu');
|
requirePHPLib('luogu');
|
||||||
requirePHPLib('data');
|
requirePHPLib('data');
|
||||||
|
|
||||||
|
@ -1,14 +1,11 @@
|
|||||||
--- UOJ-System/web/app/cli.php 2022-12-30 09:54:05.452022649 +0800
|
--- UOJ-System/web/app/cli.php 2022-12-30 09:54:05.452022649 +0800
|
||||||
+++ UOJ-Luogu-RemoteJudge/web/app/cli.php 2023-03-20 18:44:11.532475876 +0800
|
+++ UOJ-Luogu-RemoteJudge/web/app/cli.php 2023-03-29 19:17:31.611110921 +0800
|
||||||
@@ -1,10 +1,24 @@
|
@@ -4,7 +4,21 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
+error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
|
|
||||||
+
|
|
||||||
$_SERVER['DOCUMENT_ROOT'] = dirname(__DIR__);
|
|
||||||
|
|
||||||
require $_SERVER['DOCUMENT_ROOT'] . '/app/libs/uoj-lib.php';
|
require $_SERVER['DOCUMENT_ROOT'] . '/app/libs/uoj-lib.php';
|
||||||
|
|
||||||
|
+error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
|
||||||
|
+
|
||||||
+requirePHPLib('luogu');
|
+requirePHPLib('luogu');
|
||||||
+requirePHPLib('data');
|
+requirePHPLib('data');
|
||||||
+
|
+
|
||||||
|
Loading…
Reference in New Issue
Block a user