summaryrefslogtreecommitdiff
path: root/moe/index.php
blob: 43c8f231c52512646f4ef29be6a40e62f58cfac6 (plain)
1
2
3
4
5
6
7
8
9
<?php
session_set_cookie_params(0, '/', '.pomf.se');
session_start();
if(isset($_SESSION['id'])){
	header('Location: includes/api.php?do=cp');
}else{
	header('Location: login/');
}
?>