Browse Source

Useabilty improvement

archive var includes the month only
pull/67/head
Kanti 11 years ago
parent
commit
3d3c76ac95
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      system/includes/functions.php

+ 1
- 1
system/includes/functions.php View File

@ -261,7 +261,7 @@ function get_posts($posts, $page = 1, $perpage = 0){
$post->date = strtotime($timestamp);
// The archive per day
$post->archive = site_url(). 'archive/' . date('Y-m-d', $post->date) ;
$post->archive = site_url(). 'archive/' . date('Y-m', $post->date) ;
// The post URL
$post->url = site_url().date('Y/m', $post->date).'/'.str_replace('.md','',$arr[2]);


Loading…
Cancel
Save