Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
stock_new
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sugar
stock_new
Commits
348cac00
Commit
348cac00
authored
Jun 18, 2024
by
wuxiaoli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复后端系统配置
parent
827181d3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
application/admin/controller/Config.php
application/admin/controller/Config.php
+1
-1
application/config.php
application/config.php
+1
-1
No files found.
application/admin/controller/Config.php
View file @
348cac00
...
...
@@ -170,7 +170,7 @@ class Config extends Admin
$config
=
ConfigModel
::
where
(
'id'
,
$id
)
->
find
();
$details
=
'原数据:分组('
.
$config
[
'group'
]
.
')、类型('
.
$config
[
'type'
]
.
')、标题('
.
$config
[
'title'
]
.
')、名称('
.
$config
[
'name'
]
.
')'
;
if
(
$config
==
ConfigModel
::
update
(
$data
))
{
if
(
ConfigModel
::
update
(
$data
))
{
cache
(
'system_config'
,
null
);
$forward
=
$this
->
request
->
param
(
'_pop'
)
==
1
?
null
:
cookie
(
'__forward__'
);
// 记录行为
...
...
application/config.php
View file @
348cac00
...
...
@@ -54,7 +54,7 @@ return [
// +----------------------------------------------------------------------
// 应用调试模式
'app_debug'
=>
t
ur
e
,
'app_debug'
=>
t
ru
e
,
// 应用Trace
'app_trace'
=>
false
,
// 应用模式状态
...
...
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