Merge 2e26edaa13
into 014a4df61f
This commit is contained in:
commit
e35130eea5
1 changed files with 6 additions and 1 deletions
|
@ -221,7 +221,12 @@ class Pico {
|
|||
unset($pages[$key]);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
// Ignore Emacs (and Nano) temp files
|
||||
if (in_array(substr($page, -1), array('~','#'))) {
|
||||
unset($pages[$key]);
|
||||
continue;
|
||||
}
|
||||
// Get title and format $page
|
||||
$page_content = file_get_contents($page);
|
||||
$page_meta = $this->read_file_meta($page_content);
|
||||
|
|
Loading…
Add table
Reference in a new issue