Browse Source

subPage improve

pull/74/head
Kanti 11 years ago
parent
commit
ebedde8d58
2 changed files with 463 additions and 480 deletions
  1. +457
    -475
      system/admin/admin.php
  2. +6
    -5
      system/htmly.php

+ 457
- 475
system/admin/admin.php
File diff suppressed because it is too large
View File


+ 6
- 5
system/htmly.php View File

@ -115,15 +115,16 @@ get('/:year/:month/:name', function($year, $month, $name) {
$post = find_post($year, $month, $name);
$current = $post['current'];
add_view($current->file);
if (!login()) {
file_cache($_SERVER['REQUEST_URI']);
}
if (!$current) {
not_found();
}
add_view($current->file);
if (!login()) {
file_cache($_SERVER['REQUEST_URI']);
}
$bio = get_bio($current->author);


Loading…
Cancel
Save