Browse Source

Seems ready for final release

Seems ready for final release
pull/31/merge
Danang Probo Sayekti 12 years ago
parent
commit
aea4e6d895
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      system/admin/admin.php

+ 2
- 2
system/admin/admin.php View File

@ -64,7 +64,7 @@ function edit_post($title, $tag, $url, $content, $oldfile, $destination = null)
// The post date
$postdate = strtotime($timestamp);
// The post URL
$posturl = site_url().date('Y/m', $postdate).'/'.$url;
$posturl = site_url().date('Y/m', $postdate).'/'.$post_url;
if($destination == 'admin/posts') {
$redirect = site_url() . 'admin/posts';
@ -107,7 +107,7 @@ function edit_page($title, $url, $content, $oldfile, $destination = null) {
file_put_contents($newfile, print_r($post_content, true));
}
$posturl = site_url() . $url;
$posturl = site_url() . $post_url;
if($destination == 'admin') {
$redirect = site_url() . 'admin';


Loading…
Cancel
Save