file(public_path().'/web/index.html'); // dd(public_path()); // header('location:/web/index.html'); $this->display(); } function redirect(){ $uri=isset($_GET['uri']) && !empty($_GET['uri'])?trim($_GET['uri']):''; if(empty($uri)){ header('location:/'); } header('location:'.$uri); } }