Skip to content

Commit

Permalink
Merge pull request #463 from nanasess/remove-obsolete
Browse files Browse the repository at this point in the history
エラー画面の改善
  • Loading branch information
okazy committed Jun 23, 2021
2 parents 9bbbb9a + 60d151d commit 0d0f7a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 34 deletions.
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.

0 comments on commit 0d0f7a2

Please sign in to comment.