getName(); if($app !== 'install' && !file_exists('./install.lock')){ return redirect('/install/index'); //header('Location:'.Request::domain().'/install.php'); } return $next($request); } }