put a minimal config for installer into config dir
This commit is contained in:
parent
44f839e104
commit
82b5ff620d
10
config/installer.php
Normal file
10
config/installer.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'php' => [
|
||||
# You can change this to a lower version, the lowest
|
||||
# can be 7.0. However, there's no guarantee that things
|
||||
# will work properly. Change at your peril!
|
||||
'version' => '7.1.3'
|
||||
]
|
||||
];
|
@ -10,8 +10,8 @@ return [
|
||||
'pdo',
|
||||
'mbstring',
|
||||
'tokenizer',
|
||||
'JSON',
|
||||
'cURL',
|
||||
'json',
|
||||
'curl',
|
||||
],
|
||||
|
||||
# Make sure these are writable
|
||||
|
@ -2,9 +2,8 @@
|
||||
|
||||
namespace Modules\Installer\Providers;
|
||||
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use Illuminate\Database\Eloquent\Factory;
|
||||
use Nwidart\Modules\Support\Stub;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use Route;
|
||||
|
||||
|
||||
@ -60,7 +59,7 @@ class InstallerServiceProvider extends ServiceProvider
|
||||
{
|
||||
$this->publishes([
|
||||
__DIR__.'/../Config/config.php' => config_path('installer.php'),
|
||||
], 'config');
|
||||
], 'installer');
|
||||
|
||||
$this->mergeConfigFrom(
|
||||
__DIR__.'/../Config/config.php', 'installer'
|
||||
|
Loading…
Reference in New Issue
Block a user