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