Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(!$username) {
- Redirect::to('index.php');
- } else {
- $user = new User($username);
- if(!$user->exists()){
- Redirect::to(404);
- }else{
- echo 'exists';
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement