-
Notifications
You must be signed in to change notification settings - Fork 406
/
error.php
33 lines (23 loc) · 743 Bytes
/
error.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
include '../../../wp-blog-header.php';
$error_info = "";
pk_session_call(function () use (&$error_info) {
$error_info = @$_SESSION['error_info'];
unset($_SESSION['error_info']);
});
if (empty($error_info)) {
$error_info = __('无错误信息', PUOCK);
}
get_header();
?>
<div id="content" class="mt20 container min-height-container">
<?php echo pk_breadcrumbs() ?>
<div class="text-center p-block puock-text">
<h3 class="mt20"><?php echo $error_info ?></h3>
<div class="text-center mt20">
<a class="a-link" href="<?php echo home_url() ?>"><i class="fa fa-home"></i> <?php _e('返回首页', PUOCK) ?>
</a>
</div>
</div>
</div>
<?php get_footer() ?>