Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
projecttwo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangtao
projecttwo
Commits
49507ac1
Commit
49507ac1
authored
Apr 23, 2025
by
wangtao
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
5988b4e0
170f93b8
Pipeline
#888
failed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
Error.php
app/api/controller/Error.php
+1
-0
No files found.
app/api/controller/Error.php
View file @
49507ac1
...
...
@@ -21,6 +21,7 @@ class Error
* 空方法
*/
public
function
__call
(
$method
,
$args
){
halt
(
1
);
$re
=
Response
::
create
(
app
()
->
getRootPath
()
.
'app/v_msg.tpl'
,
'view'
)
->
assign
([
'msg'
=>
'Controller does not exist!'
,
'site'
=>
vconfig
(
'site_title'
)])
->
header
();
throw
new
HttpResponseException
(
$re
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment