@@ -0,0 +1,10 @@
<?php
require_once 'includes/config.php';
if (isset($_SESSION['user'])) {
header('Location: dashboard.php');
exit;
}
header('Location: login.php');
The note is not visible to the blocked user.