Skip to content

Commit

Permalink
fix page.php edit btn lend to 404
Browse files Browse the repository at this point in the history
  • Loading branch information
Innei committed Jul 2, 2019
1 parent 2ab085d commit 86e7339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion page.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<section class="page-title">
<h2><?php $this -> title() ?></h2>
<?php if($this -> authorId == $this -> user -> uid): ?>
<a class="edit-link" href="<?php $this -> options -> adminUrl(); ?>write-post.php?cid=<?php echo $this -> cid; ?>" target="_blank">编辑</a>
<a class="edit-link" href="<?php $this -> options -> adminUrl(); ?>write-page.php?cid=<?php echo $this -> cid; ?>" target="_blank">编辑</a>
<?php endif; ?>
</section>
<article class="page-content">
Expand Down

0 comments on commit 86e7339

Please sign in to comment.