diff --git a/config/installer.php b/config/installer.php new file mode 100644 index 00000000..743eab58 --- /dev/null +++ b/config/installer.php @@ -0,0 +1,10 @@ + [ + # 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' + ] +]; diff --git a/modules/Installer/Config/config.php b/modules/Installer/Config/config.php index b71ad2f5..8f66bce2 100644 --- a/modules/Installer/Config/config.php +++ b/modules/Installer/Config/config.php @@ -10,8 +10,8 @@ return [ 'pdo', 'mbstring', 'tokenizer', - 'JSON', - 'cURL', + 'json', + 'curl', ], # Make sure these are writable diff --git a/modules/Installer/Providers/InstallerServiceProvider.php b/modules/Installer/Providers/InstallerServiceProvider.php index cf7f9e21..ad6f1805 100644 --- a/modules/Installer/Providers/InstallerServiceProvider.php +++ b/modules/Installer/Providers/InstallerServiceProvider.php @@ -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'