5) {
sleep(1);
header("Location:" . $WebSite . "login/login_form.php");
exit;
}
include $_SERVER['DOCUMENT_ROOT'] . '/load_header.php';
$title_message = '기초모델관리';
?>
= $title_message ?>
$model_name,
"updated_at" => date("Y-m-d H:i:s")
];
file_put_contents($jsonFile, json_encode($data, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE));
header("Location: basic_model.php");
exit;
}
// GET 요청으로 clear=1 전달 시 JSON 파일 삭제 (모델 초기화)
if (isset($_GET['clear']) && $_GET['clear'] == 1) {
if (file_exists($jsonFile)) {
unlink($jsonFile);
}
header("Location: basic_model.php");
exit;
}
?>
= $title_message ?>
현재 기초 모델명: = htmlspecialchars($currentModel, ENT_QUOTES, 'UTF-8') ?>
기초 모델명이 등록되어 있지 않습니다.