Advertisement
Guest User

Untitled

a guest
Jul 26th, 2017
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.29 KB | None | 0 0
  1. <?php
  2. if($_POST) {
  3.   require('core/core.php');
  4.   switch (isset($_GET['mode']) ? $_GET['mode'] : null) {
  5.     case 'login':
  6.       require('core/bin/ajax/goLogin.php');
  7.       break;
  8.     default:
  9.       header('location: index.php');
  10.   }
  11. } else {
  12.   header('location: index.php');
  13. }
  14. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement