Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

エラー画面の改善 #463

Merged
merged 2 commits into from
Jun 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions data/class/pages/preview/LC_Page_Preview.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ public function process()

$objView = new SC_SiteView_Ex();
$objSess = new SC_Session_Ex();

SC_Utils_Ex::sfIsSuccess($objSess);
if (!SC_Utils_Ex::sfIsSuccess($objSess, false)) {
SC_Utils_Ex::sfDispSiteError(PAGE_ERROR);
}

if (isset($_SESSION['preview']) && $_SESSION['preview'] === 'ON') {
// プレビュー用のレイアウトデザインを取得
Expand Down
32 changes: 0 additions & 32 deletions html/error.php

This file was deleted.