Sindbad~EG File Manager

Current Path : /home/copmadinaarea/creditunion.copeastlegondistrict.org/app/Http/Middleware/
Upload File :
Current File : /home/copmadinaarea/creditunion.copeastlegondistrict.org/app/Http/Middleware/CanInstall.php

<?php

namespace App\Http\Middleware;

use Closure;

class CanInstall
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
		if(env('APP_INSTALLED',true) == true){
			return $next($request);
		}
		return redirect('/installation');
    }
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists