Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // If not logged in, redirect to the index page
- if ($_GET['login'] && $canIhaveAccess){
- // blank
- } elseif ($current_user->user_id > 0 && $current_user->authenticated) {
- // blank
- } else {
- header('Location: '.$my_base_url.$my_kliqqi_base.'/register.php');
- die;
- }
- ?>
Add Comment
Please, Sign In to add comment