Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
Platform
Commits
a075e380
Commit
a075e380
authored
May 28, 2018
by
huy.dang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix config:cache issue
parent
497ab143
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
1 deletion
+15
-1
core.php
Modules/Core/Config/core.php
+7
-0
CoreServiceProvider.php
Modules/Core/Providers/CoreServiceProvider.php
+1
-1
core.php
config/asgard/core/core.php
+7
-0
No files found.
Modules/Core/Config/core.php
View file @
a075e380
...
...
@@ -169,4 +169,11 @@ return [
|--------------------------------------------------------------------------
*/
'enable-theme-overrides'
=>
false
,
/*
|--------------------------------------------------------------------------
| Check if asgard was installed
|--------------------------------------------------------------------------
*/
'is_installed'
=>
env
(
'INSTALLED'
,
false
)
];
Modules/Core/Providers/CoreServiceProvider.php
View file @
a075e380
...
...
@@ -69,7 +69,7 @@ class CoreServiceProvider extends ServiceProvider
public
function
register
()
{
$this
->
app
->
singleton
(
'asgard.isInstalled'
,
function
()
{
return
true
===
env
(
'INSTALLED'
,
false
);
return
true
===
config
(
'asgard.core.core.is_installed'
);
});
$this
->
app
->
singleton
(
'asgard.onBackend'
,
function
()
{
return
$this
->
onBackend
();
...
...
config/asgard/core/core.php
View file @
a075e380
...
...
@@ -169,4 +169,11 @@ return [
|--------------------------------------------------------------------------
*/
'enable-theme-overrides'
=>
false
,
/*
|--------------------------------------------------------------------------
| Check if asgard was installed
|--------------------------------------------------------------------------
*/
'is_installed'
=>
env
(
'INSTALLED'
,
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