From aea4e6d895a41b784801c390ebcc22b51697b40f Mon Sep 17 00:00:00 2001 From: Danang Probo Sayekti Date: Thu, 30 Jan 2014 18:45:44 +0700 Subject: [PATCH] Seems ready for final release Seems ready for final release --- system/admin/admin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/admin/admin.php b/system/admin/admin.php index c44c2b9..953a28d 100644 --- a/system/admin/admin.php +++ b/system/admin/admin.php @@ -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';