added F() function

This commit is contained in:
John Bintz 2009-11-07 17:18:11 -05:00
parent ca3299a01e
commit fbdacf3322
1 changed files with 8 additions and 0 deletions

View File

@ -44,6 +44,14 @@ function __comicpress_init() {
}
}
function F($name, $path, $override_post = null) {
global $post;
$comic_post = new ComicPressComicPost(is_null($override_post) ? $post : $override_post);
return ComicPress::get_instance()->find_file($name, $path, $comic_post->find_parents());
}
/**
* Display the list of Storyline categories.
*/