if($_SESSION['back']['currenturl']!=''){ echo "<script>location.href='".$_SESSION['back']['currenturl']."';</script>";die(); }else{ echo "<script>location.href='".U('Huiyuan/welcome')."';</script>";die(); }