This commit is contained in:
cmattoon 2013-09-04 03:32:40 -07:00
commit e35130eea5

View file

@ -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);