/ Published in: Other

Expand |
Embed | Plain Text
<?php global $user; if ( !$user->uid ) { header("Status: 301"); # 301 Moved Permanently header("Location: http://{$_SERVER['SERVER_NAME']}/user/login"); exit; } ?>
You need to login to post a comment.