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
542a89e9
Commit
542a89e9
authored
Nov 27, 2014
by
Nicolas Widart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove publish configuration method.
parent
bac7861e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
25 deletions
+0
-25
InstallCommand.php
Modules/Core/Console/InstallCommand.php
+0
-25
No files found.
Modules/Core/Console/InstallCommand.php
View file @
542a89e9
...
...
@@ -75,8 +75,6 @@ class InstallCommand extends Command
$this
->
publishAssets
();
$this
->
publishConfigurations
();
$this
->
blockMessage
(
'Success!'
,
'Platform ready! You can now login with your username and password at /backend'
...
...
@@ -177,29 +175,6 @@ class InstallCommand extends Command
$this
->
info
(
'Application migrated!'
);
}
/**
*
*/
private
function
publishConfigurations
()
{
$this
->
call
(
'publish:config'
,
[
'package'
=>
'dimsav/laravel-translatable'
]);
$this
->
call
(
'publish:config'
,
[
'package'
=>
'mcamara/laravel-localization'
]);
$this
->
call
(
'publish:config'
,
[
'package'
=>
'pingpong/modules'
]);
$this
->
call
(
'publish:config'
,
[
'package'
=>
'mpedrera/themify'
]);
$this
->
adaptThemifyConfiguration
();
}
/**
* Configure the mpedrera/themify configuration
* @throws \Illuminate\Filesystem\FileNotFoundException
*/
private
function
adaptThemifyConfiguration
()
{
$themifyConfig
=
$this
->
finder
->
get
(
'config/packages/mpedrera/themify/config.php'
);
$themifyConfig
=
str_replace
(
'app_path()'
,
'base_path()'
,
$themifyConfig
);
$this
->
finder
->
put
(
'config/packages/mpedrera/themify/config.php'
,
$themifyConfig
);
}
/**
* Symfony style block messages
* @param $title
...
...
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