Files
sam-api/public/tenant/index.php
2025-08-10 02:36:50 +09:00

14 lines
285 B
PHP

<?php
session_start();
if (!isset($_SESSION['user_id'])) {
// 로그인 안 한 경우 로그인 페이지로
header("Location: ./member/intro.php");
exit;
} else {
// 로그인 한 경우 대시보드로
header("Location: ./member/dashboard.php");
exit;
}
?>