Add opcache option; change detection during install for cache driver

This commit is contained in:
Nabeel Shahzad
2019-07-18 09:26:33 -04:00
parent a0a6ab027f
commit a9c5be1c70
8 changed files with 147 additions and 50 deletions

View File

@@ -4,6 +4,7 @@ namespace Modules\Installer\Http\Controllers;
use App\Contracts\Controller;
use App\Services\Installer\MigrationService;
use function count;
use Illuminate\Http\Request;
use Log;
@@ -45,7 +46,7 @@ class UpdaterController extends Controller
public function step1(Request $request)
{
$migrations = $this->migrationSvc->migrationsAvailable();
if(\count($migrations) > 0) {
if(count($migrations) > 0) {
Log::info('No migrations found');
}
@@ -64,7 +65,7 @@ class UpdaterController extends Controller
Log::info('Update: run_migrations', $request->post());
$migrations = $this->migrationSvc->migrationsAvailable();
if(\count($migrations) === 0) {
if(count($migrations) === 0) {
$this->migrationSvc->syncAllSeeds();
return view('installer::update/steps/step3-update-complete');
}