* Refactor and add importer to Installer module #443 * Refactor for finances to use in import * Import groups into roles * Formatting * Formatting * Add interface in installer for import * Notes about importing * Check for installer folder * Formatting * Fix pirep->user mapping * Unused import * Formatting
This commit is contained in:
@@ -5,17 +5,18 @@
|
||||
|
||||
namespace App\Http\Middleware;
|
||||
|
||||
use App\Contracts\Middleware;
|
||||
use Closure;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class InstalledCheck
|
||||
/**
|
||||
* Check the app.key to see whether we're installed or not
|
||||
*
|
||||
* If the default key is set and we're not in any of the installer routes
|
||||
* show the message that we need to be installed
|
||||
*/
|
||||
class InstalledCheck implements Middleware
|
||||
{
|
||||
/**
|
||||
* Check the app.key to see whether we're installed or not
|
||||
*
|
||||
* If the default key is set and we're not in any of the installer routes
|
||||
* show the message that we need to be installed
|
||||
*/
|
||||
public function handle(Request $request, Closure $next)
|
||||
{
|
||||
if (config('app.key') === 'base64:zdgcDqu9PM8uGWCtMxd74ZqdGJIrnw812oRMmwDF6KY='
|
||||
|
||||
Reference in New Issue
Block a user